summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
2022-10-11Merge pull request #67192 from RedMser/light-scale-warningRémi Verschelde
Show warning when scaling Light3D nodes
2022-10-10Show warning when scaling Light3D nodesRedMser
2022-10-10Remove incorrect px suffixesRedMser
2022-10-09Merge pull request #67076 from timothyqiu/hint-enum-suffixRémi Verschelde
Remove invalid suffix hint for enum property
2022-10-08Merge pull request #65983 from Mickeon/rename-audio-player-volume-dbRémi Verschelde
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08Merge pull request #67062 from timothyqiu/enum-spaceRémi Verschelde
Remove leading spaces from enumerator name hints
2022-10-08Remove invalid suffix hint for enum propertyHaoyu Qiu
2022-10-08Remove leading spaces from enumerator name hintsHaoyu Qiu
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
2022-10-07declare "_validate_property" as protectedArthur J
In other classes, the function _validate_property is declared as protected (in the case of Area2D), but in Area3D it's declared as private, which causes compile errors when trying to extend the class in a C++ module for example.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Merge pull request #66951 from rburing/restore_recovery_as_collisionRémi Verschelde
Revert "Turn on recovery as collisions only for floor snapping"
2022-10-05Revert "Turn on recovery as collisions only for floor snapping as this leads ↵Ricardo Buring
to unwanted behaviour for other surface than the floor." This reverts commit 10395f5df2a1cac6ed83e674c084e62a88fcdde9.
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-03Move "Create Debug Tangents" into an editor pluginbad
Instead of exporting the "create_debug_tangents" function via METHOD_FLAG_EDITOR it gets executed by an editor plugin. This moves it from the "Manage object properties" menu into a mesh menu. It also adds undo/redo functionality to the create debug tangents option.
2022-10-03Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-01Remove usage of unitialized variablesRafał Mikrut
2022-09-29Merge pull request #66592 from KoBeWi/look_at_me_I_am_the_captain_nowRémi Verschelde
Fail `look_at()` if not inside tree
2022-09-29Merge pull request #66143 from DarkKilauea/nav-queries-agentRémi Verschelde
Update NavigationAgent to use query_path
2022-09-29Fail look_at() if not inside treekobewi
2022-09-29Merge pull request #65807 from clayjohn/light-units-bugRémi Verschelde
Validate physical light units in GI classes.
2022-09-28Update NavigationAgent to use query_pathJosh Jones
This paves the way for having agents respond to link traversal.
2022-09-22Merge pull request #64679 from DarkKilauea/nav-region-propsRémi Verschelde
Improve consistency of NavigationRegion setters
2022-09-22Merge pull request #66110 from Zylann/reference_get_countRémi Verschelde
get_reference_count()`
2022-09-21Improve consistancy of NavigationRegion settersJosh Jones
2022-09-21Rename remaining "*_enable" to "*_enabled"Micky
Material.`proximity_fade_enable` -> `proximity_fade_enabled` Material.`set_proximity_fade` -> `set_proximity_fade_enabled` (Material.`is_proximity_fade_enabled` is unchanged) Area3D.`reverb_bus_enable` -> `reverb_bus_enabled` (`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged) RDPipelineRasterizationState: `depth_bias_enable` -> `depth_bias_enabled` `set_depth_bias_enable` -> `set_depth_bias_enabled` `get_depth_bias_enable` -> `get_depth_bias_enabled` Bonus: Area3D.`set_reverb_bus` -> `set_reverb_bus_name` Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
2022-09-21Rename and expose `RefCounted::get_reference_count()`Marc Gilleron
2022-09-21Merge pull request #65828 from rburing/body_state_sync_callableRémi Verschelde
make `body_set_state_sync_callback` take a `Callable`
2022-09-20Merge pull request #66064 from kleonc/sprite3d-fix-drawing-with-vertical-marginsRémi Verschelde
`Sprite3D`/`AnimatedSprite3D` Fix drawing `AtlasTexture`s with vertical margins differently than in 2D
2022-09-19Merge pull request #66112 from Zylann/get_configuration_warnings_psaRémi Verschelde
Change return type of `get_configuration_warnings` to `PackedStringArray`
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-19Increases the number of maximum detected collisionsfabriceci
2022-09-19Merge pull request #64728 from fabriceci/only-report-recovery-for-floor-snappingRémi Verschelde
Turn on recovery as collisions only for floor snapping
2022-09-19Expose `NOTIFICATION_LOCAL_TRANSFORM_CHANGED`Marc Gilleron
2022-09-18Turn on recovery as collisions only for floor snapping as this leads to ↵fabriceci
unwanted behaviour for other surface than the floor.
2022-09-18`SpriteBase3D` Fix drawing AtlasTextures with vertical margins differently ↵kleonc
than in 2D
2022-09-18Move duplicated drawing code from `Sprite3D`/`AnimatedSprite3D` to ↵kleonc
`SpriteBase3D`
2022-09-18Merge pull request #44143 from KoBeWi/callable_multiplayerRémi Verschelde
2022-09-18Port remaining connections to callable_mpTomasz Chabora
2022-09-18Merge pull request #65931 from ↵Rémi Verschelde
fabriceci/add-recovery-as-collision-in-low-level-methods Add recovery_as_collision in move_and_collide/test_move
2022-09-17Rename AudioStreamPlayer3D's `unit_db` to `volume_db`Micky
AudioStreamPlayer3D.`unit_db` -> `volume_db` Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-17Add recovery_as_collision in move_and_collide/test_movefabriceci
2022-09-16Tweak LightmapGI defaults to be closer to the CPU lightmapperHugo Locurcio
- Use 3 bounces by default. - Enable environment lighting from the scene by default. - This is not done in `3.x` for compatibility with existing projects, but it makes sense to do this by default since pretty much all outdoor scenes benefit from this. - Set the custom environment color to white (like ReflectionProbe). - Its default energy is still 0, so it's invisible by default. - Enable the generation of dynamic object probes by default. - Tweak the `max_texture_size` property hint for better usability. - Improve error messages when passing invalid sizes to `LightmapGI.set_max_texture_size()`.
2022-09-16Merge pull request #65148 from Mickeon/animated-sprite-negative-speed-scaleRémi Verschelde
Allow negative `speed_scale` in AnimatedSprite2D & 3D
2022-09-15PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take ↵Ricardo Buring
a Callable Prefer Callable to a C-style callback. This is helpful for GDExtension.
2022-09-14Validate physical light units in GI classes.clayjohn
Add checks for physical light units in a few more places to ensure they aren't used when disabled.
2022-09-13Allow negative `speed_scale` in AnimatedSprite2D & 3DMicky
If the `speed_scale` is set to a negative value, the animation plays in reverse. The second parameter of `play()` still reverses as before. if `speed_scale` and the second parameter of `play()` is true, the animation plays forward. Also updates the documentation to better describe the pausing and playing behaviour.
2022-09-13Merge pull request #65591 from MewPurPur/area-overlapping-functionRémi Verschelde
Implement `Area[2D/3D].has_overlapping_[bodies/areas]`