summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-02-05Add do..while(0) wrappers to macros without one.Marcel Admiraal
- Add do..while(0) wrapper to ERR_FAIL_NULL macros. - Add do..while(0) wrapper to ERR_FAIL_COND macros. - Add do..while(0) wrapper to ERR_CONTINUE macros. - Add do..while(0) wrapper to ERR_BREAK macros. - Add do..while(0) wrapper to CRASH_COND macros. - Add do..while(0) wrapper to ERR_FAIL macros. - Add do..while(0) wrapper to ERR_PRINT macros. - Add do..while(0) wrapper to WARN_PRINT macros. - Add do..while(0) wrapper to WARN_DEPRECATED macros. - Add do..while(0) wrapper to CRASH_NOW macros.
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-02-03Added missing '\n' in visual shader expression node code generationYuri Roubinsky
2020-02-03Added missing '\n' in visual shader fresnel node code generationYuri Roubinsky
2020-02-01Few extra formatting fixes for visual shader node generationYuri Roubinsky
For 'If' and 'Switch' nodes
2020-02-01Added missing '\n' in visual shader custom node code generationYuri Roubinsky
2020-02-01Merge pull request #35618 from Chaosus/vs_improvementsYuri Roubinsky
Better visual shader code generation
2020-02-01Better visual shader code generationYuri Roubinsky
2020-01-31Fix canvas_item light alpha output in visual shadersYuri Roubinsky
2020-01-31Merge pull request #35612 from timothyqiu/option-button-arrowRémi Verschelde
Fixes OptionButton minimum size
2020-01-30Fix tab container too large when tabs are hiddennathanwfranke
2020-01-28Merge pull request #35670 from clayjohn/material-flag-cacheRémi Verschelde
Add an extra bit to material flag cache
2020-01-28Add an extra bit to material flag cacheclayjohn
2020-01-28Revert "make Label consider spaces for visible_characters"Rémi Verschelde
This reverts commit 695980a0f21adbe66eb12e1015fdc8c51fb62bf9. Fixes #35668.
2020-01-28Merge pull request #35620 from TrevorPeyton/bind-autotile-centerRémi Verschelde
Added binding for Autotile Center
2020-01-28Hide "control" methods from VisualShaderNodeGroupBaseYuri Roubinsky
2020-01-28Hide "editable" property from VisualShaderNodeGroupBase public interfaceYuri Roubinsky
2020-01-27Added missing property "size" to VisualShaderNodeGroupBaseYuri Roubinsky
2020-01-27Removed unused method "build" from VisualShaderNodeExpressionYuri Roubinsky
2020-01-27Added binding for Autotile CenterTrevorPeyton
2020-01-27Added missed bracket to VisualShaderNodeCubeMapYuri Roubinsky
2020-01-27Fix VisualShaderNodeCubeMap generationYuri Roubinsky
2020-01-27Fixes OptionButton min sizeHaoyu Qiu
2020-01-26doc: Complete documentation for VideoStreamsRémi Verschelde
Also quick clean up of the matching C++ files.
2020-01-26Updates minimum size on VideoPlayer::set_streamHaoyu Qiu
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>