Rémi Verschelde
dcd11faad3
Merge pull request #40253 from madmiraal/add-override-keywords
...
Add override keywords.
2020-07-10 21:04:23 +02:00
Yuri Roubinsky
ecb5f7ea23
Added 'fma' function to shader language
2020-07-10 19:58:03 +03:00
Marcel Admiraal
26fcf2b04c
Add override keywords.
2020-07-10 13:56:54 +01:00
Daniel Ting
d6c979d91b
Do not try to save internal scripts
...
Fixes #40175
2020-07-08 11:53:18 -05:00
George Marques
9654365547
Add a map of autoloads to ProjectSettings
...
So places that need to look into it can use the list instead of parsing
ProjectSettings details (like checking "*" in path for testing if it's
singleton).
2020-07-06 12:35:51 -03:00
SkyJJ
cae6f0bda2
Change translation parser plugin API to parse_file()
2020-07-05 12:14:56 +02:00
Yuri Roubinsky
583b6c9073
Merge pull request #40115 from Chaosus/vshader_fix_dialog
...
Makes "Create shader node" dialog non-exclusive (visual shaders)
2020-07-05 08:41:14 +03:00
Yuri Roubinsky
e19cdacbd7
Makes "Add new member" dialog non-exclusive for visual shaders
2020-07-04 13:20:30 +03:00
Stijn Hinlopen
973e5bacf0
Rewrite extracting animation name.
2020-07-04 09:55:36 +02:00
Rémi Verschelde
b51418842a
Merge pull request #39845 from mrushyendra/bone_painting_undoredo_master
...
Fix undo/redo for bone painting in Polygon2D UV Editor
2020-07-04 01:43:29 +02:00
Rémi Verschelde
c020eea184
Merge pull request #40092 from hinlopen/remove-find-last
...
Remove String::find_last (same as rfind)
2020-07-04 01:38:01 +02:00
Stijn Hinlopen
929b98d24b
Remove String::find_last (same as rfind)
2020-07-03 15:26:22 +02:00
Andrii Doroshenko (Xrayez)
dc446203be
Provide warning when using polygon shapes in `CollisionShape2D` node
...
`ConvexPolygonShape2D` and `ConcavePolygonShape2D` are only meant to be
used directly in code and not in the editor for physics-based use cases
specifically.
Developers are advised to use `CollisionPolygon2D` instead, which does
generate those shapes under the hood, handling polygon convexivity,
proper orientation etc.
2020-07-03 15:46:09 +03:00
SkyJJ
efb4609425
Add translation parser plugin support
2020-07-02 14:47:35 +02:00
Michael Alexsander
4f00ac7003
Remove oversized margins in the AnimationTree editor
2020-07-02 02:53:42 -03:00
Rémi Verschelde
8a484756de
Merge pull request #39076 from rileylyman/editor_tab_names
...
Implement filename disambiguation for scene tabs and script names
2020-07-01 16:46:32 +02:00
Daniel Ting
d2a5b92e9b
Make "Close and save changes?" actually save
...
This fixes issue #39844 , where the confirmation dialog when a user
attempts to close an unsaved script did not actually save it even after
clicking "Save."
2020-06-30 21:39:12 -05:00
Juan Linietsky
438c380458
Add a separate application focus/in notification out from Window focus notification.
2020-06-30 10:40:06 -03:00
Rémi Verschelde
dffd805055
Merge pull request #39824 from mrushyendra/snap_point_polygon
...
Fix possible accidental duplication of Polygon2D start point
2020-06-29 10:39:00 +02:00
Rémi Verschelde
db168abe7d
Merge pull request #39637 from MCrafterzz/tilemapinprovements
...
Make tilemap lines/rectangles their own tools
2020-06-27 11:38:32 +02:00
rileylyman
4285211f40
implement generic filename disambiguation
...
A static function is added to EditorNode which allows for filename
disambiguation given a list of filenames and the corresponding list of
absolute paths for those files. This function is then used to
disambiguate scene and script tabs in the editor.
2020-06-26 16:12:08 -07:00
Rémi Verschelde
b740f645f7
Merge pull request #39754 from akien-mga/canvasitemeditor-fix-dropped-scenes-position
...
CanvasItemEditor: Fix losing position for drag'n'dropped scenes
2020-06-26 20:54:00 +02:00
Juan Linietsky
201d606b3d
Addition of SDFGI for open world global illumination
...
Move GI to a deferred pass
2020-06-26 11:06:48 -03:00
Marcus Elg
8e2608b2d6
Make tilemap lines/rectangles their own tools
2020-06-26 15:52:09 +02:00
Maganty Rushyendra
6e60aa3876
Fix undo/redo for bone painting in Polygon2D UV Editor
...
Fix to ensure that undo/redo works when painting bones in the Polygon2D
UV editor. Previously, bone painting would continue silently in the
background, because a mouse click signalling the end of an edit would
not be appropriately dealt with.
2020-06-26 13:38:05 +08:00
Maganty Rushyendra
b8d55b244a
Fix accidental duplication of Polygon2D start point
...
Ensures that closure of Polygon2D in the editor takes into account
Grid Snap if enabled. Does this by comparing the polygon start with
grid snap applied to mouse click location. Note: transformation is
applied in order to deal with different editor zoom levels.
2020-06-25 18:42:18 +08:00
Rémi Verschelde
75c91707a4
Merge pull request #39482 from asmaloney/fix-scrollwheel-zoom-macos
...
[macOS] Control key + scroll wheel should zoom not pan
2020-06-25 11:22:08 +02:00
Michael Alexsander
f167a2b993
Fix regressions in the 3D lock buttons
2020-06-24 12:09:53 -03:00
Bill
acdcda9033
Fix overlapping hotkey designations for save all scenes and save all scripts
2020-06-24 05:02:54 -04:00
Rémi Verschelde
6ad814bf7b
Merge pull request #39775 from Chaosus/fix_error_label
...
Fix error label clicking in status bar for shader editor
2020-06-24 08:24:40 +02:00
Yuri Roubinsky
25cb5a42e0
Fix error label clicking in status bar for shader editor
2020-06-23 11:10:33 +03:00
Maganty Rushyendra
69d0d89214
Enable finer grained control when creating polygon with UV Editor
...
Modifies polygon auto-completion based on UV editor scale, in order
to enable finer grained control for the user. Enables selection of
points closer than the current threshold of 8 pixels.
2020-06-23 15:22:08 +08:00
Rémi Verschelde
a403131a25
CanvasItemEditor: Fix losing position for drag'n'dropped scenes
...
Fixes #26549 .
Supersedes #36309 .
2020-06-22 14:18:45 +02:00
Aaron Franke
ed2bbdbbef
Avoid errors when the editor camera is inside the focused object
...
Prevent the gizmo distance from being zero by MAX-ing it with CMP_EPSILON
2020-06-22 04:53:29 -04:00
Rémi Verschelde
091e500a88
Merge pull request #39592 from vorblen/master
...
Fix "Fully Axis-Locked" Freelook Navigation Scheme
2020-06-21 21:47:01 +02:00
Rémi Verschelde
e773664f26
Merge pull request #39687 from Calinou/2d-editor-shift-horizontal-scroll
...
Scroll horizontally when holding Shift with Scroll to Pan enabled
2020-06-20 11:55:59 +02:00
Vorblen
29e901c342
Fix "Fully Axis-Locked" Freelook Navigation Scheme
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-06-20 10:05:43 +01:00
Hugo Locurcio
31b7f02a29
Remove ToolButton in favor of Button
...
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.
Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.
This closes https://github.com/godotengine/godot-proposals/issues/1081 .
2020-06-19 20:49:49 +02:00
Hugo Locurcio
84e1c5e4c3
Scroll horizontally when holding Shift with Scroll to Pan enabled
...
This closes https://github.com/godotengine/godot-proposals/issues/1077 .
2020-06-19 19:27:33 +02:00
Yuri Roubinsky
cb9cbf840d
Added Texture2DArray support to visual shaders
2020-06-19 18:02:05 +03:00
Sl3dge78
d731f43794
Autofilled path gets set properly on animation subresources
2020-06-19 01:22:36 +02:00
Andy Maloney
031165b345
[macOS] Control key + scroll wheel should zoom not pan
...
Together with godotengine/godot#39395 for 3.2.x, this fixes godotengine/godot#32520
2020-06-18 10:20:20 -04:00
Rémi Verschelde
4e0f31a67c
Merge pull request #39638 from mrushyendra/editor_preview
...
Fix editor texture preview for certain specific dimensions
2020-06-18 11:59:45 +02:00
Maganty Rushyendra
c7a8dc7bb9
Fix editor texture preview for certain specific dimensions
...
Ensures no error is issued when attempting to preview a resource that
may be scaled down to <1 pixel when resizing to fit the thumbnail.
2020-06-18 17:21:42 +08:00
Rémi Verschelde
a8fce16b2f
Merge pull request #39626 from bojidar-bg/x-tileset-editor-crash
...
Fix a random crash in the TileSet editor
2020-06-18 09:55:03 +02:00
Bojidar Marinov
7850d0316f
Fix a random crash in the TileSet editor
...
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
2020-06-17 22:08:51 +03:00
Hugo Locurcio
4a542e0007
Restore previous mouse position when leaving the editor freelook mode
...
- Remove the crosshair as it no longer serves a purpose (the cursor will
now appear where the user "expects" it to).
This closes https://github.com/godotengine/godot-proposals/issues/1076 .
2020-06-17 20:02:46 +02:00
Rémi Verschelde
9d23391072
Merge pull request #39517 from Calinou/editor-display-freelook-speed-zoom
...
Display freelook speed and zoom in units in the 3D editor viewport
2020-06-16 12:44:25 +02:00
Hugo Locurcio
eaae50fe4a
Display freelook speed and zoom in units in the 3D editor viewport
...
Now that the 3D editor grid is infinite and adjusts its step automatically,
this helps people get a better sense of scale when moving around in the
3D viewport.
This also fixes the indicator bar drawing on hiDPI displays.
2020-06-16 10:46:01 +02:00
Rémi Verschelde
8db8577f10
Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_Branch
...
Skeleton and Skeleton inspector low-level changes
2020-06-16 09:30:22 +02:00