summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-11-13Set roughness/metallic to 1 when assigning a texture in BaseMaterial3DHugo Locurcio
This makes material setup faster and avoids mistakes, especially with the metallic channel which defaults to 0. The value is only changed when adding a texture when none was previously assigned, not when assigning a different texture.
2021-11-11Merge pull request #54810 from nekomatata/area-separate-override-modesCamille Mohr-Daurat
Separate space override modes for gravity/damping in Area
2021-11-11Merge pull request #54857 from nekomatata/raycast-hit-from-insideRémi Verschelde
2021-11-11Merge pull request #54869 from akien-mga/string-remove-eraseRémi Verschelde
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-11Fix RichTextLabel selection copy with table cells.bruvzg
2021-11-10Add raycast options to hit when starting inside / hit back facesPouleyKetchoupp
Makes the results consistent for all shape types with options to set the desired behavior.
2021-11-10Merge pull request #49708 from megalobyte/editor_description_fixRémi Verschelde
2021-11-10Merge pull request #54847 from nekomatata/fix-test-move-regressionRémi Verschelde
2021-11-10Merge pull request #54660 from Chaosus/vs_particles_mesh_emitterRémi Verschelde
2021-11-10Update editor description property flagmegalobyte
2021-11-10Fix test_move reporting collision when touching another bodyPouleyKetchoupp
Reporting rest collision information is needed for move_and_collide and move_and_slide so floor detection can be done properly, but in the case of just testing the motion for collision, it makes sense to return false if the body is able to move all along the path without being stopped. Updated the logic in test_move and clarified the documentation for test_move and move_and_collide.
2021-11-10Merge pull request #54204 from Ev1lbl0w/bugfix-textedit_selection_mode_crashRémi Verschelde
2021-11-10Merge pull request #54820 from nekomatata/fix-character-body-floor-errorsRémi Verschelde
2021-11-10Fix errors in CharacterBody when floor is destroyed or removedPouleyKetchoupp
In all physics servers, body_get_direct_state() now silently returns nullptr when the body has been already freed or is removed from space, so the client code can detect this state and invalidate the body rid. In 2D, there is no change in behavior (just no more errors). In 3D, the Bullet server returned a valid direct body state when the body was removed from the physics space, but in this case it didn't make sense to use the information from the body state.
2021-11-10Fix crash with indexing array with bad valuesEv1lbl0w
2021-11-10VisualShader: Document enum args for virtual methodsRémi Verschelde
Fixes #31563.
2021-11-09Merge pull request #53819 from TokageItLab/re-implement-ping-pongRémi Verschelde
Reimplement ping-pong animation and reverse playback
2021-11-09Separate space override modes for gravity/damping in AreaPouleyKetchoupp
Also make inspector clearer for gravity point properties.
2021-11-09Merge pull request #46721 from bruvzg/custom_word_break_punctRémi Verschelde
2021-11-09Merge pull request #54372 from bruvzg/text_edit_uiRémi Verschelde
2021-11-09Merge pull request #54649 from bruvzg/shadowsRémi Verschelde
2021-11-08Several Gradient improvementsHendrik Brucker
2021-11-08Merge pull request #52943 from RandomShaper/property_pin_control_naturalRémi Verschelde
2021-11-08Merge pull request #54715 from goostengine/gradient-texture-1d-renameYuri Roubinsky
2021-11-08Add property value pinningPedro J. Estébanez
2021-11-07Remove redundant texture flag setters/getters for `CameraTexture`Aaron Record
2021-11-07Unify determination of default property valuesPedro J. Estébanez
2021-11-07Rename `GradientTexture` to `GradientTexture1D`Andrii Doroshenko (Xrayez)
1. Explicit and unambiguous when comparing to `GradientTexture2D` 2. Consistent with other class names where 1D is used in the engine.
2021-11-07Fix preview sun and environment nameskobewi
2021-11-06Added `MeshEmitter` node for particles in visual shaderYuri Roubinsky
2021-11-06Fix Label and RichTextLabale text shadows and shadow outlines.bruvzg
2021-11-05Merge pull request #54573 from nekomatata/query-parametersRémi Verschelde
2021-11-05Added 2D boolean hint for particle emitters in visual shadersYuri Roubinsky
2021-11-04Use parameter classes instead of arguments for all physics queriesPouleyKetchoupp
Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-04Add missing argument names for bindings in GDExtensionRémi Verschelde
2021-11-04Add is_built_in() method to Resourcekobewi
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03Merge pull request #54533 from rafallus/menubutton_itemsRémi Verschelde
2021-11-03Merge pull request #54072 from KoBeWi/hrcr_is_dedRémi Verschelde
2021-11-03Merge pull request #54527 from nekomatata/fix-polygon-bone-path-errorsRémi Verschelde
2021-11-03Implement inspector property array for `PopupMenu` and `MenuButton`rafallus
2021-11-03Fix errors with invalid bone node path in Polygon2DPouleyKetchoupp
NodePath properties are designed to be relative to the given node, so validity checks are failing in the editor for Polygon2D nodes, which are relative to the Skeleton2D node rather than the Polygon2D node. Fixed by saving bone paths as String properties instead of NodePath. Shouldn't cause a difference for performance since NodePath properties are technically saved as String anyway.
2021-11-03Merge pull request #54104 from Scony/improve-navigation-obstaclesRémi Verschelde
Improve NavigationObstacle3D usability
2021-11-03Merge pull request #54528 from nekomatata/fix-crash-tileset-polygonGilles Roudière
Fix crash in Tileset with get_collision_polygon_shape
2021-11-03reimplement ping-pongSilc 'Tokage' Renew
2021-11-02Fix crash in Tileset with get_collision_polygon_shapePouleyKetchoupp
Shape index was used instead of polygon index in this one case.
2021-11-02Merge pull request #54471 from rafallus/callable_area_monitorRémi Verschelde
2021-11-02Prevent MeshDataTool from crashing due to invalid bones/weights arraysYuri Sizov
2021-11-01Validate fog volume propertiesclayjohn