lawnjelly
f0af29346b
ProjectSettings add dirty flag and project_settings_changed signal
...
Most frames there will be no change in project settings, and it makes no sense to read settings every frame in case of changes, as a large number of string compares are involved.
This PR adds a signal to ProjectSettings that can be subscribed to in order to keep local settings up to date with ProjectSettings.
In addition a function `ProjectSettings::has_changes()` is provided for objects outside the signal system (e.g. Rasterizers).
2022-02-09 11:20:25 +00:00
Rémi Verschelde
a47a71b87e
Merge pull request #57093 from Calinou/editor-help-references-use-code-font-3.x
2022-02-08 18:44:55 +01:00
Rémi Verschelde
7dc00ddae8
Merge pull request #57041 from fire-forge/fix-create-root-node-scrolling-3.x
2022-02-08 13:17:55 +01:00
Rémi Verschelde
8acdd0502d
Merge pull request #57737 from winterpixelgames/faster-script-class-get-parent
2022-02-07 18:28:36 +01:00
Jason Knight
6f7cef601a
Use ScriptServer::get_global_class_base instead of script_class_get_base in script_class_is_parent.
2022-02-07 07:36:59 -06:00
kleonc
87b4db9e63
SpriteFramesEditor Fix crash when selecting non-Texture file for splitting
2022-02-06 23:39:26 +01:00
Rémi Verschelde
689f59dca0
Merge pull request #53463 from lawnjelly/vital_redraws
...
Add editor vital redraws only option
2022-02-04 21:42:49 +01:00
Haoyu Qiu
aeb9925615
Revert "Fix ViewportPreview upside-down in 3.x."
...
This reverts commit 1426df66a8
.
2022-02-04 13:54:47 +08:00
Rémi Verschelde
80306cc88a
EditorProperty: Fix range hint parsing with optional step
...
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".
2022-02-03 12:33:37 +01:00
lawnjelly
a0c6d16c90
Add editor vital redraws only option
...
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:
* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00
Rémi Verschelde
b6dbff7621
Merge pull request #57361 from lawnjelly/occ_poly_only
2022-02-01 14:04:24 +01:00
lawnjelly
8ea20f5fdd
Add OccluderShapePolygon
...
Add OccluderShapePolygon, glue to Occluder and gizmos etc.
2022-02-01 11:31:06 +00:00
Ryan Roden-Corrent
0a77d2d850
Merge create_physical_skeleton undo entries.
...
Pressing `ctrl+z` after clicking "Create Physical Skeleton" will now
undo the creation of all physical bones by that operation.
Previously undo would remove one bone at a time.
Fixes https://github.com/godotengine/godot/issues/55351 .
(cherry picked from commit c9cce53983
)
2022-01-31 22:54:23 +01:00
Rémi Verschelde
b18a7f5220
Merge pull request #57030 from timothyqiu/disable-script-editor-menu-3.x
...
[3.x] Disable ScriptEditor's menu items when they do nothing
2022-01-26 08:06:05 +01:00
Haoyu Qiu
7a7eab06f8
Fix crash after renaming an animation node
...
(cherry picked from commit 5ea4a8b421
)
2022-01-25 18:55:51 +01:00
kleonc
5b240d833a
SpriteFramesEditor Show AtlasTexture's source texture path in the frame's tooltip
...
(cherry picked from commit c635ab914d
)
2022-01-25 18:17:23 +01:00
Haoyu Qiu
164ef0763a
Update AssetLib network settings when Editor Settings change
...
(cherry picked from commit 575cd3645c
)
2022-01-25 18:14:58 +01:00
Navdeep Singh Rathore
b531a49265
Added the smart word wrap property to preview label
...
(cherry picked from commit 0b55eedc52
)
2022-01-25 18:14:42 +01:00
Hugo Locurcio
357e7e8f9f
Use a fixed-width font for internal references in the editor help
...
Since internal references are often written in scripts, it makes sense
to use a fixed-width font for them.
2022-01-23 18:47:50 +01:00
fire540
a5b9f9f1ed
[3.x] Fix Create Root Node dialog expanding in favorites tab
2022-01-21 11:45:43 -06:00
Rémi Verschelde
d775499f43
Merge pull request #57037 from timothyqiu/groups-editor-3.x
2022-01-21 13:06:11 +01:00
Haoyu Qiu
7dcfe6b878
Improve Groups dock panel and the Group Editor
2022-01-21 18:32:27 +08:00
Rémi Verschelde
3e7e701385
Merge pull request #56909 from Calinou/editor-add-scene-casing-setting-3.x
2022-01-21 10:27:57 +01:00
Rémi Verschelde
45b8cc4854
Merge pull request #56956 from rburing/fix_import_hints_breaking_animations_3.x
2022-01-21 10:20:19 +01:00
Haoyu Qiu
061ee6cdb3
Disable ScriptEditor's menu items when they do nothing
2022-01-21 12:05:32 +08:00
Hugo Locurcio
8948b36f0d
Add project setting to change scene file casing
...
The default behavior is unchanged (the root node name is used as-is).
2022-01-21 02:00:43 +01:00
Hugo Locurcio
856f2d0f8f
Add shortcuts for New Scene and New Inherited Scene actions
...
These default to Ctrl + N and Ctrl + Shift + N respectively.
2022-01-20 20:34:05 +01:00
bruvzg
30ee208bd9
[macOS export, 3.x] Implements ad-hoc signing on Linux/Windows, adds extra privacy settings, entitlements warnings and error checking.
2022-01-20 10:46:29 +02:00
Ricardo Buring
742c54d0a7
Fix import hints breaking node paths in animations
2022-01-19 16:42:38 +01:00
Ricardo Buring
684b7fdf47
Fix "Convert to MeshLibrary" not respecting collision transforms
...
(cherry picked from commit 025d7b9332
)
2022-01-19 16:04:17 +01:00
SaracenOne
37910dd10f
Allow selection of option 'Open in File Manager' even when a file/folder is not explicitly selected.
...
(cherry picked from commit b7348419a3
)
2022-01-19 16:04:16 +01:00
jmb462
3641ec61bb
Prevent renaming to an unkown extension from FileSystem dock.
...
(cherry picked from commit c24433f500
)
2022-01-19 16:04:16 +01:00
Haoyu Qiu
28ae995a1a
Fix crash when undoing node creation of BlendTree editor
...
(cherry picked from commit 19634bd1a1
)
2022-01-19 16:02:54 +01:00
kobewi
7bd13a4325
Automatically go up if current dir was deleted
...
(cherry picked from commit 18633b975b
)
2022-01-19 16:01:04 +01:00
Haoyu Qiu
a36ca80493
Improve the SnapGrid editor icon
...
(cherry picked from commit e9f660c066
)
2022-01-19 14:04:37 +01:00
Rémi Verschelde
ede7e68ab6
Merge pull request #56620 from timothyqiu/left-right-palette-3.x
2022-01-18 16:38:26 +01:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Hendrik Brucker
365486543d
Improve Colorpicker presets
2022-01-17 15:21:47 +01:00
Rémi Verschelde
1ee44b2366
ImageLoader: Remove references to unsupported svgz extension
...
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.
Also cleaning a couple missing includes in platform export code.
2022-01-17 10:52:32 +01:00
kleonc
63fd172fce
Fix AtlasTexture nesting
2022-01-15 00:11:02 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
d13e0a368b
Merge pull request #56222 from godotengine/inputmap_undo
2022-01-13 12:27:34 +01:00
Rémi Verschelde
da5a11fe45
i18n: Sync editor translations with Weblate
2022-01-12 18:45:00 +01:00
zacryol
6fc587a6e5
Reword "Open Project Data Folder" as "Open User Data Folder"
...
Clarifies that the button opens the user:// dir
and for better consistency with certain ProjectSettings values:
"Use Hidden Project Data Directory" is named similarly, but refers to data within res://
and two values refer to user:// as "User Dir"
(Translations were not updated)
and rename enum value accordingly
(cherry picked from commit 54018e4021
)
2022-01-12 17:39:31 +01:00
Rémi Verschelde
7249e170f7
Merge pull request #56044 from timothyqiu/position-nodes
...
[3.x] Improve axis awareness and visibility for Position2D and Position3D
2022-01-11 08:54:52 +01:00
Rémi Verschelde
8a192cd0ab
Merge pull request #55987 from bruvzg/wt 🤎 3
2022-01-10 16:43:56 +01:00
Rémi Verschelde
edd9534f97
Merge pull request #53900 from ChronicallySerious/update-vcs-1
2022-01-10 12:18:57 +01:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
Haoyu Qiu
37a38ece59
Allow showing both left and right side panels
2022-01-08 20:20:36 +08:00
Rémi Verschelde
67db681871
Merge pull request #56562 from mortarroad/3.x-fix-import-dock-multiple
2022-01-07 16:15:35 +01:00