summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-07-04Clean up Treereduz
Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
2021-07-03Merge pull request #50054 from reduz/curve-texture-3dRémi Verschelde
Implement Curve3Texture
2021-07-03Merge pull request #50080 from reduz/fix-old-mesh-compatibilityRémi Verschelde
Add compatibility with old mesh formats
2021-07-03Implement Curve3Texturereduz
* This was required by users in some scenarios, such as animating individual axes over time with a single texture. * Examples: Shaders, Particles, etc. * CurveTexture now defaults to RGB, can be changed to Red if needed, this allows to freely exchange them.
2021-07-03Merge pull request #50096 from reduz/fix-render-infoRémi Verschelde
Fix Render Info
2021-07-03Fix Render Inforeduz
* Fixed and redone the process to obtain render information from a viewport * Some stats, such as material changes are too difficult to guess on Vulkan, were removed. * Separated visible and shadow stats, which causes confusion. * Texture, buffer and general video memory can be queried now. * Fixed the performance metrics too.
2021-07-03Merge pull request #49468 from menip/FixGetScreenPositionRémi Verschelde
Fix Control::get_screen_position() not considering viewport scale
2021-07-02Merge pull request #50092 from YeldhamDev/window_get_contents_exposeRémi Verschelde
Expose `Window.get_contents_minimum_size()` to scripts
2021-07-02Merge pull request #50089 from YeldhamDev/splitcontainer_minimal_fixRémi Verschelde
Make invisible `SplitContainer` nodes correctly calculate the minimal size of its children
2021-07-02Expose `Window.get_contents_minimum_size()` to scriptsMichael Alexsander
2021-07-02Remove leftovers from the DirectionalLight3D Optimized shadow depth rangeHugo Locurcio
The Optimized shadow depth range was removed in late 2020 in favor of the Stable shadow depth range, but it still had a (broken) property that allowed to enable it.
2021-07-02Make invisible `SplitContainer` nodes correctly calculate the minimal size ↵Michael Alexsander
of its children
2021-07-02Add compatibility with old mesh formatsreduz
* Can load 2.x meshes * Can load 3.x meshes
2021-07-01Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke
Also use const more often.
2021-07-01Merge pull request #50040 from reduz/fix-renderingserver-bindingsRémi Verschelde
Clean up RenderingServer and its bindings
2021-07-01Clean up RenderingServer and its bindingsreduz
* Rewrote bindings for RenderingServer. * They are now all up to date. * Several unused methods and deprecated features were cleaned up.
2021-07-01Merge pull request #50037 from reduz/move-color-to-8bitRémi Verschelde
Import mesh colors in 8BPC
2021-06-30Import mesh colors in 8BPP.reduz
* Colors were imported as 16BPP (half float) * Far most common use cases only require 8BPP * If you need higher data precision, use a custom array, which are supported now. **WARNING**: 3D Scenes imported in 4.0 no longer compatible with this new format. You need to re-import them (erase them from .godot/import)
2021-06-30Enable Camera2D smoothing on limit changeEric
2021-06-30Merge pull request #49834 from nekomatata/physics-disable-modesRémi Verschelde
Add support for controlling physics nodes' behavior when disabled
2021-06-30Merge pull request #50014 from reduz/remove-immediateRémi Verschelde
Deprecate ImmediateGeometry
2021-06-30Deprecate ImmediateGeometryreduz
* Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again.
2021-06-30Merge pull request #50009 from reduz/fix-suffixes-and-degreesRémi Verschelde
Fix editor suffixes and degrees conversion
2021-06-30Add support for controlling physics nodes' behavior when disabledPouleyKetchoupp
New property disable_mode to set different behaviors: Remove: remove from physics simulation MakeStatic: change body mode to static (doesn't affect area and soft body) KeepActive: do nothing Extra change: Handle disable/enable node state with specific notifications, in order to differentiate global pause from disabled nodes.
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-30Merge pull request #49901 from nekomatata/move-and-collide-fix-slideRémi Verschelde
Fix move_and_collide causing sliding on slopes
2021-06-29Fixes to 2D viewportreduz
* Editor 2D viewport now uses embedded subwindows (windows no longer pop up) * Restored the ability to disable 3D on the 2D viewport (makes 3D not display on 2D when there is a camera on the scene)
2021-06-29Merge pull request #37181 from jitspoe/master.button_icon_alignmentRémi Verschelde
2021-06-29Merge pull request #49713 from nekomatata/fix-export-var-override-runtimeRémi Verschelde
Fix export var override in PackedScene at runtime
2021-06-29Merge pull request #49970 from trollodel/graphnode_fix_port_positionRémi Verschelde
Fix GraphNode port position when the control has the Expand flag
2021-06-29Add alignment options to icons on buttons.jitspoe
They can now be centered and right-aligned. Fixes #11380.
2021-06-29Merge pull request #49719 from LightningAA/rename-node-is-ancestor-ofRémi Verschelde
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29Merge pull request #49993 from groud/fix_debbuger_crashRémi Verschelde
Fixes crash in case no column in tree is expanded and has minimum size
2021-06-29Fixes crash in case no column in tree is expanded and has minimum sizeGilles Roudière
2021-06-29Implement painting properties over TileSetsGilles Roudière
2021-06-28Fix move_and_collide causing sliding on slopesPouleyKetchoupp
Make sure the direction of the motion is preserved, unless the depth is higher than the margin, which means the body needs depenetration in any direction. Also changed move_and_slide to avoid sliding on the first motion, in order to avoid issues with unstable position on ground when jumping. Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-06-28Fix GraphNode port position when the control has the Expand flagtrollodel
2021-06-28Merge pull request #49917 from groud/tree_disable_scrollRémi Verschelde
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28Merge pull request #49951 from ↵Rémi Verschelde
Calinou/standardmaterial3d-height-triplanar-print-warning Print warning in StandardMaterial3D when height and triplanar are active
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-28Print warning in StandardMaterial3D when height and triplanar are activeHugo Locurcio
Using both height mapping and triplanar mapping isn't supported.
2021-06-28Fix auto-connection from output node to input (VisualShaders)Yuri Roubinsky
2021-06-28Merge pull request #49953 from Calinou/reflectionprobe-tweak-default-extentsRémi Verschelde
Increase the default ReflectionProbe extents to Vector3(10, 10, 10)
2021-06-27Increase the default ReflectionProbe extents to Vector3(10, 10, 10)Hugo Locurcio
On top of having a more realistic size out of the box, this matches the default VoxelGI extents for better usability.
2021-06-27Fix flipped binormal in StandardMaterial3D triplanar mappingHugo Locurcio
This made normal maps on triplanar materials use an inverted Y direction compared to non-triplanar materials.
2021-06-25Implement native extension systemreduz
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
2021-06-25Allow disabling scrolling in TreeGilles Roudière
2021-06-25Merge pull request #49908 from KoBeWi/📎🔫Rémi Verschelde
Remove clips_input() method and use clip_content
2021-06-25Remove clips_input() method and use clip_contentkobewi
2021-06-25Fix RichTextLabel custom_effects export to be properly filtered in the EditorEric M