Commit graph

394 commits

Author SHA1 Message Date
Hugo Locurcio
ff9d3e569f
Fix project and editor data paths not being opened correctly on macOS
This closes #21904.
2018-09-11 20:32:08 +02:00
Rémi Verschelde
45b609f46a Replace last occurrences of PropertyEditor by EditorInspector
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin

Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
4c37ea59be
Merge pull request #21971 from scayze/window_title_update
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey
909885642a update window title when switching scenes 2018-09-11 12:28:32 +02:00
Rémi Verschelde
0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one." 2018-09-11 11:30:48 +02:00
Rémi Verschelde
fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
DualMatrix
c43ffc8917 Prevent overwriting open scenes when saving
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS
b82f037818 Fix selection of spatial nodes after selecting a non-spatial one.
Fixes #13849
2018-09-07 10:49:40 +02:00
Rémi Verschelde
e22f0515c9 Drop old ShaderGraph code, obsoleted by VisualShader 2018-08-24 11:49:08 +02:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4 Fix MeshLibrary editor 2018-08-21 19:06:52 -03:00
Rémi Verschelde
a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
George Marques
ed3776c6a4
Disable scripting and physics early in EditorNode
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Juan Linietsky
c7e4527a88 Massive rewrite to AnimationTree. Many APIs changed in order to:
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
2f20836e52
Merge pull request #19837 from willnationsdev/plugin-utilities
Add PluginConfigDialog.
2018-08-15 11:42:51 +02:00
Rémi Verschelde
1e49b2d720
Merge pull request #20997 from Gamblify/add_files_to_tree_view
Add a way to disable the split view in the FileSystem dock
2018-08-14 22:50:51 +02:00
Juan Linietsky
e6a64b1888 Avoid scripts from being opened in same inspector, closes #20111 2018-08-14 15:44:23 -03:00
Rémi Verschelde
7a2ad1321a
Merge pull request #20621 from YeldhamDev/bottom_panel_min
Adjust bottom panel's minimal height for the expand icon
2018-08-14 15:57:19 +02:00
groud
b3f02d0840 Add a way to disable the split view
Also add a parameter as the max height before split
2018-08-14 10:17:51 +02:00
Chaosus
94cf2133d5 Add warning color to output log 2018-08-13 21:52:38 +03:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call 2018-08-08 16:30:23 +02:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
254eb46de3 Several improvements to inspector.
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Juan Linietsky
edde52c8de Added proper import support for 3D and Array textures 2018-08-06 14:56:06 -03:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
2018-08-05 16:49:22 +02:00
AndreaCatania
b7e66188df Implemented IK 2018-08-04 11:25:07 +02:00
Michael Alexsander Silva Dias
22ffaded01 Adjust bottom panel's minimal height for the expand icon 2018-07-30 19:12:31 -03:00
Juan Linietsky
317dee95de It is now possible to import images as a separate resource, closes #5738 and likely many others 2018-07-29 16:45:23 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Juan Linietsky
936b5a395a Do conversion of scene preview icon at the end, improves save performance a bit. Closes #14387 2018-07-27 08:59:43 -03:00
Will Nations
ff604414a4 Add PluginConfigDialog, EditorPluginSettings GUI 2018-07-26 10:12:05 -05:00
Ian
1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
Rémi Verschelde
eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Hein-Pieter van Braam
0e29f7974b Reduce unnecessary COW on Vector by make writing explicit
This commit makes operator[] on Vector const and adds a write proxy to it.  From
now on writes to Vectors need to happen through the .write proxy. So for
instance:

Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;

Failing to use the .write proxy will cause a compilation error.

In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.

_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Hugo Locurcio
b4f6b20273
Add menu buttons to open the project and editor data folders 2018-07-25 23:41:35 +02:00
volzhs
6bdec4ffb6 Open internal visual script editor while use external editor is on 2018-07-25 11:59:31 +09:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
Open all files in script editor
2018-07-24 21:52:11 +02:00
Wilson E. Alvarez
a22e746bc3 Removed unnecessary assignments 2018-07-24 09:51:03 +02:00
Paulb23
8ff747171f Allow opening and editing of any utf_8 file in script editor 2018-07-22 11:55:56 +01:00
Juan Linietsky
336db8bcd1 -Fix tooltips in inspector, now they show as rich text. 2018-07-20 18:16:19 -03:00
Michael Alexsander Silva Dias
12b55610ed Make Update Spinner popup use radio items 2018-07-20 14:32:53 -03:00
Juan Linietsky
c69de2ba46 -Project/Editor settings now use new inspector
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Juan Linietsky
43dc050947 Several improvements to editor inspector usability and style 2018-07-18 19:37:41 -03:00
Rémi Verschelde
13239cd4cc Export: Properly reload preset when opening dialog
Fixes #20119 where newly installed templates were not detected.

Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde
afb554afdf
Merge pull request #20185 from volzhs/audio-preview
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
volzhs
4bb85b70e1 Fix copying ttf, otf by DND to editor
regression from d65ac7378c
2018-07-18 01:49:57 +09:00
volzhs
dd2f39da53 Add audio stream preview to Inspector dock 2018-07-17 22:11:35 +09:00
Juan Linietsky
af7d8fb844 Added small icon to expand the bottom panel (and shortcut too) 2018-07-15 22:38:14 -03:00
Juan Linietsky
f6ce73f724 Visual Shaders are back. 2018-07-14 18:16:18 -03:00
Juan Linietsky
7dcaabaf19 Support for CPU based particles, which aids compatibility with OpenGL ES 2.0 2018-07-06 20:21:42 -03:00