summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2019-12-13doc: Sync classref with current sourceRémi Verschelde
Also apply clang-format.
2019-12-13Merge pull request #34287 from Xrayez/tween-trans-ease-defaultRémi Verschelde
Provide default Tween values for transition and easing types
2019-12-13Merge pull request #34235 from timothyqiu/menu-scrollRémi Verschelde
Fixes long popup menu scroll behavior
2019-12-13Merge pull request #34189 from aaronfranke/mesh-aabbRémi Verschelde
Expose Mesh get_aabb
2019-12-12Make Button and co. take internal margins into account when clipping textMichael Alexsander
2019-12-12Merge pull request #34298 from timothyqiu/lines-32736Rémi Verschelde
Fixes crash after remove_line in RichTextLabel
2019-12-12Added missed enum constant VisualShaderNodeTexture::SOURCE_PORTYuri Roubinsky
2019-12-12Fixes crash after remove_line in RichTextLabelHaoyu Qiu
`ItemFrame` always have a line.
2019-12-12CharFXTransform: Drop unnecessary get_value_or()Rémi Verschelde
See https://github.com/godotengine/godot/pull/23658#issuecomment-562706669 The method was implemented back when Dictionary.get(key, default) did not exist, but now that it does we do not need a custom method in CharFXTransform. It's a new feature in 3.2, so does not break compat with 3.1.x.
2019-12-12Provide default Tween values for transition and easing typesAndrii Doroshenko (Xrayez)
TRANS_LINEAR and EASE_IN_OUT are chosen as defaults for interpolation and follow methods.
2019-12-11Expose Mesh get_aabbAaron Franke
2019-12-11Merge pull request #34259 from timothyqiu/validate-texture-32982Rémi Verschelde
Fixes crash after set_piece_texture with invalid texture
2019-12-11Merge pull request #34241 from timothyqiu/sync-fallbacks-size-32701Rémi Verschelde
Fixes crash when using DynamicFont::set_font_data
2019-12-11Merge pull request #34240 from timothyqiu/invalid-shader-io-29985Rémi Verschelde
Fixes crash when shader inputs/outputs is invalid string
2019-12-11Validates texture in set_piece_textureHaoyu Qiu
2019-12-10Fixes crash when using DynamicFont::set_font_dataHaoyu Qiu
2019-12-10Fixes crash when shader inputs/outputs is invalid stringHaoyu Qiu
2019-12-10Fixes crash when using Theme::clearHaoyu Qiu
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-10Fixes long popup menu scroll behaviorHaoyu Qiu
Popup menus longer than the viewport have stange behaviors before this fix: * They always have one pixel outside the viewport. * You can scroll down the long menu even if bottom outside screen and top inside the screen. (Only menus one pixel above the screen is limited to scroll down.)
2019-12-10Update minimum size of SpinBox on theme changeTomasz Chabora
2019-12-09Merge pull request #34203 from bruvzg/ime_placeholderRémi Verschelde
Hide LineEdit placeholder if IME composition string is not empty.
2019-12-09Fixed strange behaviour of scroll in the ItemList.allkhor
2019-12-08Hide LineEdit placeholder if IME composition string is not empty.bruvzg
2019-12-06Add spaces after commas and strip extra ones in *FileDialog filter menuMichael Alexsander
2019-12-06Remove extra spaces from parenthesis in *FileDialog's filter menuMichael Alexsander
2019-12-05Don't store index of root nodesTomasz Chabora
2019-12-03Merge pull request #33857 from nekomatata/polygon-2d-antialiasingRémi Verschelde
Fixed antialiased option for Polygon2D
2019-12-02Ensure move_and_slide() is consistent between the 2D and 3D versions.Marcel Admiraal
In the 3D version: - Partially revert #20908 that was reverted in the 2D version as part of #21653. This ensures that the Vector returned is always perpendicular to the surface collided with; and not the floor_normal Vector passed to the function when on a floor. - Include an update of the floor velocity before multiplying by the time delta, which was added to the 2D version as part of commit 13a8014. In the 2D version: - Use the Vector2.slide() function instead of Vector2.tangent() to adjust the amount of motion the stop_on_slope undoes to ensure that it is in the right direction. This is a implementation of the 3D approach from #30588. - Combine the !found_collision and motion == Vector2() checks for break. - Other minor formating changes to make the functions look identical. Also renamed some variables to align with their use.
2019-12-01Properly remove joint when a physical bone is removed from the scenePouleyKetchoupp
It was triggering a warning in bullet followed with a crash in some cases. WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body. At: modules/bullet/rigid_body_bullet.cpp:465
2019-12-01Fixed caret alignment with placeholder textPaulb23
2019-12-01Fixed LineEdit alignment when removing text or undo / redoPaulb23
2019-12-01Merge pull request #34019 from nekomatata/inspector-transform-updateRémi Verschelde
Update transform property in the inspector when changing translation/rotation/scale
2019-11-30Update transform property in the inspector when changing ↵PouleyKetchoupp
translation/rotation/scale
2019-11-30Merge pull request #34011 from nekomatata/state-machine-travel-on-readyRémi Verschelde
Handle state machine travel before the start node is processed
2019-11-30Merge pull request #34014 from KoBeWi/like_2d_like_3dRémi Verschelde
Port Path2D changes to 3D
2019-11-30Port Path2D changes to 3DTomasz Chabora
2019-11-30Remove unnecessary bounded_offset from PathFollow2DTomasz Chabora
2019-11-30Handle state machine travel before the start node is processedPouleyKetchoupp
This change allows travel() to be called on AnimationNodeStateMachinePlayback during _ready(), before the start node has been processed and the state machine is considered playing.
2019-11-28Fixed antialiased option for Polygon2D / Line2DPouleyKetchoupp
Polygon2D: The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing. Line2D: Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly. Fixes #26823
2019-11-27Added more details in Timer.start() error message.x2f
2019-11-26Only display Environment sky rotation in degrees in the InspectorHugo Locurcio
This makes it consistent with Spatial.
2019-11-26Range: Remove min/max check added in #33908Rémi Verschelde
This wasn't a very good idea as it puts too strict requirements on how to set `min` and `max` values. For example, since the default min and max are 0 and 100, this triggers an error: ``` set_min(256) set_max(16384) ``` Since `min` will be higher than `max` temporarily. It can be worked around by setting max first, but it's not really intuitive. I'll relax the requirement as it's only a problem in `get_as_ratio`, which already has a check. Fix another min == max occurrence.
2019-11-26Range: Fix cases where max was set to or below min valueRémi Verschelde
It will now raise an error whenever this happens so that we can fix these situations. `max == min` is not allowed as it could lead to divisions by zero in ratios, and `max < min` doesn't make much sense. Fixes #33907.
2019-11-25Fix bug where specularmode disabled is not cachedclayjohn
2019-11-25Merge pull request #33869 from jbuck3/dialog-resize-bugRémi Verschelde
Fix WindowDialog moving when resized from the left/top edge
2019-11-25Merge pull request #33862 from Faless/net/http_request_chunk_sizeRémi Verschelde
Add download_chunk_size property to HTTPRequest.
2019-11-25Merge pull request #33860 from nekomatata/stylebox-preview-shadowRémi Verschelde
StyleBox preview adjusted to fit all drawn content
2019-11-24Fix WindowDialog moving when resized from the left/top edgeJames Buck
get_combined_minimum_size() must be used in order to consider the min size specified by the user when determining how far the left/top edge is allowed to move. Otherwise the dialog may think it can shrink further than it should, causing the right/bottom edge to move when the rect size is fixed in set_size().