summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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().
2019-11-24Add download_chunk_size property to HTTPRequest.Fabio Alessandrelli
This allows setting the `read_chunk_size` of the internal HTTPClient. This is important to reduce the allocation overhead and number of file writes when downloading large files, allowing for better download speed.
2019-11-24StyleBox preview adjusted to fit all drawn contentPouleyKetchoupp
This change allows StyleBox preview to take shadows and content margins into account to display how a whole panel would be rendered. The preview control clips contents so that in any case it doesn't bleed on controls around. Fixes #33801
2019-11-24Fixed index out of size error in TextEdit when opening scriptsPouleyKetchoupp
2019-11-21Setting the node process priority should not trigger an errorMartin Capitanio
Fixes #33749 This function can be called outside the scene tree.
2019-11-21Merge pull request #28526 from PtrMan/pr_bakeGi1Rémi Verschelde
GIProbe::bake(): special handling of spatial
2019-11-21Merge pull request #32274 from raphael10241024/fix_sync_physics_jitterRémi Verschelde
fix kinematicBody2D jitters when sync_to_physics is turned on
2019-11-21GIProbe::bake: Remove check for ownershipPtrMan
Fixes #28508.
2019-11-20Merge pull request #33583 from qarmin/fix_overflows_unitializedRémi Verschelde
Fix some overflows and unitialized variables
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-11-20Merge pull request #33750 from lupoDharkael/gradientRémi Verschelde
GradientEdit: Fix index crashes
2019-11-19GradientEdit: Fix index crasheslupoDharkael
2019-11-20Rename External MSAA to AndroidVR MSAA on Viewport propertyvolzhs
following up f392c4ea7a778db6c5c73a1c6b9348b84707ee81
2019-11-17Merge pull request #33683 from clayjohn/material-texture-bugRémi Verschelde
Properly update texture when roughness/metallic set
2019-11-17Merge pull request #33663 from Calinou/add-node-get-process-priorityRémi Verschelde
Implement `Node::get_process_priority()` and its associated property
2019-11-17Properly update texture when roughness/metallic setclayjohn
2019-11-17Implement `Node::get_process_priority()` and its associated propertyHugo Locurcio
This closes #33660.
2019-11-17StyleBoxFlat doesn't draw content when width or height is zeroPouleyKetchoupp
Causes unnecessary computations and drawing, and a division by zero when calculating uv coordinates. This case happened with ScriptEditor's member overview (ItemList), initialized with a minimum width of 0. Fixes #33634
2019-11-16Merge pull request #33645 from Calinou/graphedit-ctrl-toggle-snappingRémi Verschelde
Make holding Ctrl toggle snapping in GraphEdit
2019-11-16Merge pull request #33658 from NeoSpark314/rename_ext_msaaRémi Verschelde
Rename External MSAA to AndroidVR MSAA
2019-11-16Rename External MSAA to AndroidVR MSAAHolger Dammertz
A new external MSAA setting was introduced in https://github.com/godotengine/godot/pull/33518 that fixed issues on GLES2 and Oculus Mobile VR. To avoid misunderstanding it was suggested by @BastiaanOlij and discussed on discord to rename it to AndroidVR.
2019-11-15Make holding Ctrl toggle snapping in GraphEditHugo Locurcio
This affects the visual script and visual shader editors as well.
2019-11-12Merge pull request #33557 from nekomatata/empty-tree-crashRémi Verschelde
Fixed crash when pressing down key on empty Tree
2019-11-12Fixed crash when pressing down key on empty TreePouleyKetchoupp
Fixes #33554
2019-11-11Merge pull request #33518 from BastiaanOlij/msaa_ext_modesRémi Verschelde
Add MSAA mode for Quest
2019-11-11Add special external MSAA modes for GLES2 Rift S/Quest and OpenXR optimisationBastiaan Olij
2019-11-11Merge pull request #29579 from mrcdk/fix_29575Rémi Verschelde
Drop the physics mouseover whenever a input has been handled.
2019-11-10Merge pull request #33516 from qarmin/small_fixesRémi Verschelde
Memory leaks and crash fixes