summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-07-07Merge pull request #50261 from Razoric480/cache-color-picker-presetsRémi Verschelde
Add cache to ColorPicker for color presets
2021-07-07Add cache to color picker for presetsFrancois Belair
This prevents loading from the project metadata more than once, significantly saving performance with nodes that have color pickers.
2021-07-07Tweak the GradientTexture property hint to follow CurveTextureHugo Locurcio
This prevents setting too large values and crashing the editor. Very low values are also no longer allowed since they are generally not detailed enough to represent complex gradients, leading to confusion.
2021-07-07Merge pull request #50193 from reduz/fix-command-queue-crashRémi Verschelde
Fix Command Queue Crash
2021-07-07Merge pull request #50214 from ↵Rémi Verschelde
Calinou/occluderinstance3d-add-node-configuration-warnings Add node configuration warnings to OccluderInstance3D
2021-07-07Fix Command Queue Crashreduz
* No longer allow sending an object (texture) to the server as material parameter * Keep a parameter cache locally in ShaderMaterial
2021-07-07Add node configuration warnings to OccluderInstance3DHugo Locurcio
2021-07-07Merge pull request #50208 from kleonc/accept_dialog-remove_buttonRémi Verschelde
Add AcceptDialog::remove_button method
2021-07-07Merge pull request #49890 from voxelv/fix_tree_range_click_timeout_crash_46648Hugo Locurcio
Avoid using a nullptr root in Tree._range_click_timeout().
2021-07-06Merge pull request #50215 from ↵Rémi Verschelde
Calinou/improve-node-configuration-warning-display Format node configuration warnings as a bullet point list
2021-07-06Merge pull request #50162 from Calinou/inspector-hint-allow-ormmaterial3dRémi Verschelde
Allow using ORMMaterial3D by using BaseMaterial3D as a resource hint
2021-07-06Merge pull request #50213 from m44615/fix_50161Rémi Verschelde
Fix: The ORMMaterial3D shader doesn't compile #50161
2021-07-06Format node configuration warnings as a bullet point listHugo Locurcio
This makes multiple warnings easier to distinguish from each other.
2021-07-06Fix: The ORMMaterial3D shader doesn't compile #50161Martin Krbila
2021-07-06Add AcceptDialog::remove_button methodkleonc
2021-07-06LineEdit: Respect `max_length` by truncating text to appendRémi Verschelde
When appending text (either via `set_text()` or by pasting from clipboard), if the input would make the `LineEdit` exceed its configured `max_length`, the input text is truncated to fit. The discard part is passed as a parameter in the `text_change_rejected` signal. Fixes #33321. Fixes #41278. Also cleaned up unimplemented `max_chars` property in `TextEdit`. Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
2021-07-06Fix TileSet::CellNeighbor enum bindingGeorge Marques
Having the TileSet:: prefix has some unintended consequences in the bindings, in particular in the extension API dump.
2021-07-05Fix Subsurface Scatteringreduz
* Works again * Transmittance also works again * Removed the curve patamter, exp() function is good enough.
2021-07-05Remove unused PhysicsShapeQueryResult3D & PhysicsShapeQueryResult2DPouleyKetchoupp
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-04Allow using ORMMaterial3D by using BaseMaterial3D as a resource hintHugo Locurcio
Previously, only StandardMaterial3D could be defined as an alternative to ShaderMaterial. This also reorders the CanvasItemMaterial property hints to follow alphabetical order (which is enforced by the inspector).
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-30Avoid using a nullptr root in Tree._range_click_timeout().voxelv
Fixes #46648
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