aboutsummaryrefslogtreecommitdiff
path: root/scene (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | Merge pull request #16705 from Chaosus/generate_normals_flipJuan Linietsky2018-04-082-4/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add flip switch to SurfaceTool.generate_normals
| * | | | | | | | | | | | | | | | | Added flip switch to generate_normalsChaosus2018-02-192-4/+8
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #16707 from Web-eWorks/atlasfixesJuan Linietsky2018-04-081-9/+20
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Sprite3D's incorrect behavior when using AtlasTextures.
| * | | | | | | | | | | | | | | | | | Fix Sprite3D's incorrect behavior when using AtlasTextures.Webster Sheets2018-02-151-9/+20
| |/ / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | Merge pull request #16574 from isaacremnant/better_grow_directionJuan Linietsky2018-04-082-15/+19
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Added GROW_DIRECTION_BOTH for controls
| * | | | | | | | | | | | | | | | | Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to ↵isaacremnant2018-02-122-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grow from its center.
* | | | | | | | | | | | | | | | | | Merge pull request #17150 from robfram/check-animation-playing-backwardsJuan Linietsky2018-04-082-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added `get_playing_speed` method to AnimationPlayer, returning the actual playing speed of the animation being played
| * | | | | | | | | | | | | | | | | | Added `get_playing_speed` method to AnimationPlayer, returning the actualrobfram2018-03-032-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | playing speed of the animation being played. As stated in #16550, there is no way to get the playing speed of an animation. The `playback_speed` property is for the whole AnimationPlayer node, and the argument passed to `play` method is another scale applied in top of the AnimationPlayer properties. Thus, the actual playing speed is AnimationPlayer.speed_scale * AnimationPlayer.playback.current.speed_scale. If it is not playing, the method returns 0.
* | | | | | | | | | | | | | | | | | | Merge pull request #17227 from Faless/multiplayer_apiJuan Linietsky2018-04-084-672/+85
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [RFC] MultiplayerAPI refactor
| * | | | | | | | | | | | | | | | | | | Use MultiplayerAPI class for high level networkingFabio Alessandrelli2018-03-034-672/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove networking related logic from Node and SceneTree. SceneTree now simply relay all networking related stuff to MultiplayerAPI for compatibility
* | | | | | | | | | | | | | | | | | | | Merge pull request #17382 from bojidar-bg/13971-path-array-unsavedJuan Linietsky2018-04-082-14/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Duplicate Arrays and Dictionaries when instancing scene in editor
| * | | | | | | | | | | | | | | | | | | | Duplicate Arrays and Dictionaries when instancing scene in editorBojidar Marinov2018-03-132-14/+4
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate Fixes #13971
* | | | | | | | | | | | | | | | | | | | Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky2018-04-083-1/+26
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix converting to tileset crashes Godot if existing file is not tileset
| * | | | | | | | | | | | | | | | | | | | Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson2018-03-233-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also make TileSetEditorPlgn tile list updates the preview modulate
* | | | | | | | | | | | | | | | | | | | | Removed strange custom world2d in CanvasLayer, been there since always and ↵Juan Linietsky2018-04-074-27/+30
| |_|_|_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not sure why. Fixes #17524, fixes #17523.
* | | | | | | | | | | | | | | | | | | | Document condition to avoid mistakes (like #17690)Juan Linietsky2018-04-071-0/+6
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge pull request #17602 from ivodopiviz/tscn-issuesJuan Linietsky2018-04-071-9/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unnecessary newlines from tscn
| * | | | | | | | | | | | | | | | | | | | Removed unnecessary newlines from tscnIvan Vodopiviz2018-03-251-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References #6025. Made small changes to avoid adding newlines for no reason.
* | | | | | | | | | | | | | | | | | | | | Merge pull request #17642 from brendor/masterJuan Linietsky2018-04-071-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Particles 2D and 3D - fix hue variation not working
| * | | | | | | | | | | | | | | | | | | | | Particles 2D and 3D - fix hue variation not working by transposing the hue ↵brendor2018-03-201-2/+2
| | |_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix The hue variation matrix is hardcoded as transposed and thus the multiplication always yielded the original color value. I wanted to keep the matrix and get the same result by switching the operands (getting a result as if the matrix was transposed).
* | | | | | | | | | | | | | | | | | | | | Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky2018-04-074-26/+74
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radio buttons in menus
| * | | | | | | | | | | | | | | | | | | | | Use radio-button-like menu entries where applicablePedro J. Estébanez2018-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Add radio-button-looking entries to PopupMenuPedro J. Estébanez2018-03-273-25/+73
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually. `is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button. Keeping check in the name adds an additional clue about these facts. Closes #13055.
* | | | | | | | | | | | | | | | | | | | | Merge pull request #17744 from robfram/fix-rtl-tableJuan Linietsky2018-04-071-0/+33
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix `RichTextLabel` column size growing beyond its calculated `max_width`
| * | | | | | | | | | | | | | | | | | | | | Fix `RichTextLabel` column size growing beyond its calculated `max_width`robfram2018-03-241-0/+33
| |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `RichTextLabel` calculated the actual width of columns, it let them grow to sizes greater than its calculated `max_width`. Now this PR ensures no columns grows beyond `max_width`, and the excess width is distributed among the columns which can still grow. It should fix #17731.
* | | | | | | | | | | | | | | | | | | | | Merge pull request #17752 from nikibobi/texture-progress-tintJuan Linietsky2018-04-072-15/+69
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tint property to TextureProgress
| * | | | | | | | | | | | | | | | | | | | | add tint for under, progress and over and tint groupbosak2018-04-012-30/+63
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | add tint property to TextureProgress changes progress colorbosak2018-03-212-11/+32
| | |_|_|/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge pull request #17809 from RandomShaper/menu-item-on-releaseJuan Linietsky2018-04-075-27/+63
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | Improve popup menus usability
| * | | | | | | | | | | | | | | | | | | | Improve popup menus usabilityPedro J. Estébanez2018-04-075-27/+63
| | |/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
* | | | | | | | | | | | | | | | | | | | Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde2018-04-042-269/+419
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Abstracted the syntax highlighter from text edit.
| * | | | | | | | | | | | | | | | | | | | Abstracted the syntax highlighter from text editPaulb232018-04-022-269/+419
| |/ / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | Merge pull request #17854 from BastiaanOlij/fix_vehicle_bodyRémi Verschelde2018-04-032-5/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve side impulse calculation
| * | | | | | | | | | | | | | | | | | | | Improve side impulse calculationBastiaan Olij2018-03-302-5/+9
| |/ / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | Merge pull request #17914 from Rubonnek/add-signal-to-videoplayerRémi Verschelde2018-04-031-6/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added signal to VideoPlayer to notify when the video finished playing
| * | | | | | | | | | | | | | | | | | | | Added signal to VideoPlayer to notify when the video finished playingWilson E. Alvarez2018-04-011-6/+9
| |/ / / / / / / / / / / / / / / / / / /
* | | | | | | | | | / / / / / / / / / / fix bone scale/rotation in AnimationPlayerskarroffel2018-04-032-2/+2
| |_|_|_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #17325. The bone pose transform was created by setting the rotation and **then** scaling the transform. This leads to object "deformation" that's not intended.
* | | | | | | | | | | | | | | | | | | Merge pull request #17902 from Noshyaar/outlineRémi Verschelde2018-04-031-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mesh: fix crash when creating mesh outline from QuadMesh
| * | | | | | | | | | | | | | | | | | | Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson2018-04-011-0/+2
| |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since create_outline can only make outline for PRIMITIVE_TRIANGLES, when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create outline, will leave `arrays` empty, and crash when it is being indexed for "indices" subarray. This PR shows error when there's only one surface and it is not TRIANGLES. Also prevent the crash if it has more than one surface and none of them are TRIANGLES (and any other cases that could leave `arrays` empty) by checking the size of `arrays` == 8 before indexing it, since the method seems to expect `arrays` to be of that size.
* / / / / / / / / / / / / / / / / / / Implement missing navgiation polygon debugging in tilemapBenedikt Bär2018-03-301-0/+55
|/ / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | Merge pull request #17321 from LinkDoyle/issue_16350Rémi Verschelde2018-03-231-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix switching WindowDialog types leaves garbage buttons
| * | | | | | | | | | | | | | | | | | Fix switching WindowDialog types leaves garbage buttonsLink2018-03-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can distinguish between node-specific children and custom children by `child->is_owned_by_parent()`. Fixes: #16350
* | | | | | | | | | | | | | | | | | | Merge pull request #17555 from poke1024/add-worldenv-warningRémi Verschelde2018-03-231-1/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warn about WorldEnvironment being ignored
| * | | | | | | | | | | | | | | | | | | Warn about WorldEnvironment being ignoredBernhard Liebl2018-03-161-1/+9
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #17571 from kubecz3k/cam-disableRémi Verschelde2018-03-232-4/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a way to ensure that camera is disabled
| * | | | | | | | | | | | | | | | | | | a way to ensure that camera is disabledJakub Grzesik2018-03-172-4/+7
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #17612 from robfram/fix-richtextlabel-bbcodeRémi Verschelde2018-03-232-3/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | Fix bad rendering of BBCode tables in `RichTextLabel`
| * | | | | | | | | | | | | | | | | | Fix bad rendering of BBCode tables in `RichTextLabel`robfram2018-03-182-3/+10
| | |_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
* | | | | | | | | | | | | | | | | | Fix oversampled font artifacts after resizeRuslan Mustakov2018-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Font update after resize relies on the viewport size which was updated after the font was already refreshed, which resulted in artifacts when it was rendered into the actual/new viewport size. Fixes #15173.
* | | | | | | | | | | | | | | | | | Merge pull request #17618 from groud/fix_gridcontainerRémi Verschelde2018-03-191-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Fixes wrong calculation of gridcontainer's children size