summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-01-28Add an extra bit to material flag cacheclayjohn
2020-01-25Fixes crash in Spatial::notificationHaoyu Qiu
2020-01-24Allow greater values in unit_offsetTomasz Chabora
2020-01-23Docs for some nodes in visual shaderYuri Roubinsky
Fix typo in `VisualShaderNodeCompare.ComparisonType` name.
2020-01-23Fix TileSet shape data not updating when being set via codeMichael Alexsander
2020-01-23Merge pull request #35460 from ↵Rémi Verschelde
ericrybick/35409-skeleton-does-not-return-to-original-pose-when-ik-playback-is-stopped Fix bone pose override not being reset when IK animation is stopped
2020-01-23doc: Misc updates for AnimationNode* and othersRémi Verschelde
- Add some missing descriptions. - Add links to tutorials for ARVR and AnimationTree. - Style fixes. - Engine changes: * Make `AnimationNodeTransition.input_<number>` properties internal so that they don't appear in the docs. They still appear in the inspector based on the actual number of inputs requested. * Drop unimplemented `CPUParticles.flatness`. It's only used for 3D particles in `ParticlesMaterial`, and thus only relevant for `CPUParticles3D`.
2020-01-23Hide "default_input_values" property in VisualShaderNode.Yuri Roubinsky
2020-01-23Fix bone pose override not being reset when IK animation is stoppedEric Rybicki
Fixes #35409
2020-01-23Merge pull request #35438 from MadEqua/virtual-keyboard-line-editRémi Verschelde
Android virtual keyboard respecting LineEdit max length.
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-22Merge pull request #35452 from nekomatata/tween-start-failRémi Verschelde
Fixed Tween::start() with pending updates
2020-01-22Fixed Tween::start() with pending updatesPouleyKetchoupp
Start was canceled instead of deferred in case of an update in progress. Fixes #35441
2020-01-22Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22Merge pull request #35338 from rburing/fix_find_focus_neighborRémi Verschelde
Fix Control::_window_find_focus_neighbour
2020-01-22Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly
Fixes #26637. Fixes #19900. The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2. Code which called this function has also been modified accordingly. This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width. It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22Incorrect joystick id was returned on an inactive ARVR controllerBastiaan Olij
2020-01-21Merge pull request #35413 from akien-mga/if-0-means-couperetRémi Verschelde
Remove unused #if 0'ed code
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2020-01-21Allow greater values for DynamicFont size propertyRémi Verschelde
See https://github.com/godotengine/godot/issues/22581#issuecomment-576836691. Not using `or_greater` as there *is* a max size value that the current implementation can accept. If using e.g. size 6000 with FiraSans-Regular.ttf, errors are printed due to failing asserts on a glyph size that should be within 4096x4096 px.
2020-01-20Forbid recursive connections in visual shaderYuri Roubinsky
2020-01-20Destroys FreeType library on load errorHaoyu Qiu
2020-01-19Fix Control::_window_find_focus_neighborRicardo Buring
Due to a typo, the size of a candidate neighbor was confused with the size of the control itself. Fixes #34936.
2020-01-19SceneTree: Abort change_scene if we're quittingRémi Verschelde
Otherwise we can have a segmentation fault if we try to call `add_child` on an already freed node. Fixes #35323.
2020-01-17Fix crash when confirming dialogs with Return keyRémi Verschelde
Regression from #34040, apparently making this a const reference introduces issues (not sure why, but previous code worked fine). Fixes #34691. Co-authored-by: dankan1890 <mewuidev2@gmail.com>
2020-01-16Fix SkeletonIK not playing animation if more than one IK-Bone is activeEric Rybicki
2020-01-16Validate input in (CPU)Particles set_emission_shape()Rémi Verschelde
Fixes #29777. Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-16Merge pull request #35183 from YeldhamDev/scrollbar_regressionRémi Verschelde
Fix scrollbar regression on large scales
2020-01-16Fix scrollbar regression on large scalesMichael Alexsander
2020-01-16Updates ScrollContainer min size when toggle scrollbarsHaoyu Qiu
2020-01-15Merge pull request #35147 from madmiraal/fix-34992Rémi Verschelde
Fixes get_floor_normal() returning the user defined floor_normal.
2020-01-15Fixes get_floor_normal() returning the user defined floor_normal.Marcel Admiraal
When there is no collision with a floor the get_floor_normal() function should return the zero vector to be consistent with get_floor_velocity(). Renames floor_normal to up_direction in all bindings. Updates the documentation of get_floor_normal() and get_floor_velocity() to make it clear when the values are valid. Updates the documentation for move_and_slide() and move_and_slide_with_snap() to use the new up_direction parameter name.
2020-01-15Updates LineEdit's min size when necessaryHaoyu Qiu
These properties will affect the minimum size of LineEdit: * The right icon (`set_right_icon`) * The clear button (`set_editable` and `set_clear_button_enabled`) * The text, when "expand to text length" is enabled (`set_text`)
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-14Fix regression on scrollbar raising in ScrollContainerMichael Alexsander
2020-01-14Cleanup unnecessary code from before the scrollbar overlapping fixesMichael Alexsander
2020-01-14Merge pull request #35130 from qarmin/crash_item_bad_indexRémi Verschelde
Don't allow to use too big index in ItemList
2020-01-14Don't allow to use too big index in ItemListRafał Mikrut
2020-01-14Merge pull request #35106 from YeldhamDev/scrollbar_overlap_fixesRémi Verschelde
Fix more instances of overlapping scrollbars
2020-01-13Fix more instances of overlapping scrollbarsMichael Alexsander
2020-01-14Updates min size on CenterContainer::set_use_top_leftHaoyu Qiu
2020-01-13Merge pull request #35080 from malbach/scrollbars_overlapRémi Verschelde
Fix #33309 Overlapping Scrollbars in ScrollContainer
2020-01-13Fix overlapping scrollbars in ScrollContainer (#33309)malbach
2020-01-13Control/Light2D: Preventing setting 0 as scale as for Node2DRémi Verschelde
Triggers errors in `Transform2D::affine_invert()`. Fixes #26510. Fixes https://github.com/godotengine/godot/issues/24997#issuecomment-457951639.
2020-01-12Merge pull request #34960 from johannesgunnar/spin_box-apply-methodRémi Verschelde
Spinbox apply input method
2020-01-11Fix empty LineEdit crash on ctrl+backspacePaulb23
2020-01-11Add apply method to SpinBoxJóhannes Gunnar Þorsteinsson
2020-01-10Add signal for LineEdit overflow eventTomasz Chabora
2020-01-10Added function to expose floor normal, useful to correctly calculate player ↵Andrea Catania
velocity. This work has been kindly sponsored by IMVU.
2020-01-10Merge pull request #34938 from OverloadedOrama/fix-basebutton-button-pressRémi Verschelde
Fixes BaseButton not triggering the pressed signal on "Button Press"…