Commit graph

333 commits

Author SHA1 Message Date
Rémi Verschelde
1b0e2b0c39 Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.

(Manual redo of 49c065d29c)
2017-03-18 23:45:45 +01:00
Rémi Verschelde
16b78da941 Style: Various fixes to play nice with clang-format
(cherry picked from commit 2a0ddc1e89)
2017-03-18 23:13:47 +01:00
Rémi Verschelde
dbf0137576 Style: Fix statements ending with ';;'
(cherry picked from commit f44ee891be)
2017-03-18 21:14:33 +01:00
Pedro J. Estébanez
6aef1c48c4 Fix node duplication in scene sub-inheritance 2017-03-08 19:58:59 +01:00
Juan Linietsky
ebb7d2cdb7 -WIP Exporter to Godot 3.0, only text scenes (no .scn) and still kind of buggy 2017-02-12 23:13:14 -03:00
Pedro J. Estébanez
2ac89f6540 Include filesystem dock split offset in editor layouts 2017-01-25 02:46:44 +01:00
Rémi Verschelde
7c47769aa2 Remove Quick Filter Files and fix FS search hotkey
The new Quick Filter Files behaviour since 8b47e26 had not been implemented,
so this implements it and makes it an editor hotkey instead of a menu entry.
Fixes #7582.

(cherry picked from commit c4d6e54e93)
2017-01-21 13:44:27 +01:00
Rémi Verschelde
d8223ffa75 Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Guilherme Felipe
eea6c43676 Add new option to always open output on play
(cherry picked from commit faf6f865dd)
2017-01-12 19:15:28 +01:00
Ivan P. Skodje
0701e7c2d8 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
bebae
0aebdb346a Allows to start the scene with custom arguments within the editor
fixes #7346

Path from the current scene isn't added too the argumens anymore by default and needs to be added throug the custom arguments, with $scene. Matches the behaviour of the executable without any arguments.
Custom Arguments are read from editor/main_run_args

(cherry picked from commit abdedc3522)
2017-01-12 19:15:28 +01:00
J08nY
1ae1deabfa editor_node: add an option to stop the update spinner from spinning, fixes #6653
(cherry picked from commit 4527fbcfa1)
2016-10-09 17:41:04 +02:00
George Marques
63b5a80088 Fix crash when disabling main screen plugin
(cherry picked from commit 0ec2b7baea)
2016-10-09 17:20:38 +02:00
Andreas Haas
4084ec4869 Make the choosable default editor layout the same as the actual default one.
Fixes #6266

(cherry picked from commit a2bff72eee)
2016-10-09 17:18:02 +02:00
George Marques
6a0d47f34c Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.

(cherry picked from commit 98e7c1edba)
2016-10-09 17:12:15 +02:00
Ralf Hölzemer
6c22cab856 Move hardcoded theme colors from editor_node into editor_themes
(cherry picked from commit 991a433cb3)
2016-09-18 23:13:46 +02:00
Franklin Sobrinho
6327fc47c8 Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock

(cherry picked from commit f6b39827b1)
2016-09-01 08:40:23 +02:00
Ignacio Etcheverry
cf851f7ed4 AboutDialog: Popup respecting its minimum size 2016-07-27 18:11:55 +02:00
Johan Manuel
a2b8ef6d51 Fix some warnings 2016-07-25 16:46:26 +02:00
Rémi Verschelde
990a23e48e Merge pull request #5821 from TheHX/issue-5795
Improved FileSystem dock "Instance" option
2016-07-23 22:53:41 +02:00
Juan Linietsky
3aeafcae04 Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Franklin Sobrinho
53beeb774b "FileSystem" dock now instance all selected scenes in one action 2016-07-21 11:10:44 -03:00
Juan Linietsky
ff8f4cb409 Renamed scenes_dock to filesystem_dock (makes more sense, it has not been a scenes dock since a long time). 2016-07-21 10:34:57 -03:00
Rémi Verschelde
87d0515d09 Fix main scene not being saved when set via Play button
Fixes #1134 for real. Also tweaked the engine.cfg template
and the preference order when browsing for the main scene.
2016-07-19 21:35:14 +02:00
Rémi Verschelde
e6cf0d444b Merge pull request #5758 from TheHX/issue-5756
Fix editor states saving, and remove related error messages
2016-07-17 23:44:16 +02:00
Franklin Sobrinho
7767aa2722 Fix editor states saving, and remove related error messages 2016-07-17 16:59:15 -03:00
Juan Linietsky
24d86e33a6 Merge pull request #5467 from RandomShaper/enhance-tidy-extensions
Enhance/tidy file extensions management
2016-07-16 09:28:49 -03:00
Franklin Sobrinho
aed2f5f938 Fix "Play custom scene" keyboard shortcut 2016-07-11 14:46:41 -03:00
Juan Linietsky
83ab4445f2 As volzhs mentioned in #5385, changes to save to FILE_SAVE_ALL_SCENES 2016-07-10 14:37:48 -03:00
Juan Linietsky
8d9b73171e Merge pull request #5385 from volzhs/autosave-android
Fix autosave when run on remote device
2016-07-10 14:34:30 -03:00
Juan Linietsky
e525a0387b Merge pull request #5421 from MarianoGnu/issues
Save all edited scenes when Runing (and auto-save is enabled). Fixes #4410
2016-07-10 14:33:48 -03:00
Franklin Sobrinho
c6a0b0dab3 Fix custom types showing on wrong dialogs
* The custom types are visible when the dialog is shown
2016-07-10 08:19:15 -03:00
Juan Linietsky
2980b27bef do not show help on multi node selection, array editing, etc, closes #5550 2016-07-09 11:46:59 -03:00
MarianoGNU
158585b21c save the editor state of the right scene instead of current 2016-07-08 13:54:44 -03:00
MarianoGNU
2924536e90 Save all edited scenes when Runing (and auto-save is enabled). Fixes #4410 2016-07-08 13:27:52 -03:00
Rémi Verschelde
d7dd10a1a2 Cleanup: drop ImportSettingsDialog, replaced by contextual actions
Note that it was already commented out.
2016-07-08 17:09:36 +02:00
Rémi Verschelde
3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Juan Linietsky
a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
Juan Linietsky
6442dfb73b Added proper resource preview cache invalidation, fixes #5342 2016-07-03 13:16:10 -03:00
volzhs
cd60c11229 Fix main(2D, 3D, Script) panel not updated when start up and select from tool button 2016-06-29 14:49:03 +09:00
Juan Linietsky
fbdb7a947b Editor properly reloads scenes if they changed on disk or were reimported 2016-06-28 18:53:31 -03:00
Pedro J. Estébanez
83740ab793 Revert "make default extension .tscn"
This reverts commit 29177e1e9b.
2016-06-28 18:27:12 +02:00
Bonfi96
e4eb025bfe i18n: Corrected a typo (#5460) 2016-06-28 12:00:18 +02:00
Rémi Verschelde
519086af60 i18n: Fix malformed TTR call 2016-06-28 08:07:19 +02:00
Juan Linietsky
ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky
972c2ad09f Ask about selecting a main scene if one has not been selected. 2016-06-27 20:00:18 -03:00
Juan Linietsky
efdcf205d2 Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059. 2016-06-27 13:17:20 -03:00
Juan Linietsky
d41b7a66e9 Properly complain when a scene file has not be selected, closes #3811 2016-06-27 10:59:37 -03:00
Juan Linietsky
8baa85d6b4 remove the warning of instances in use at exit 2016-06-26 16:34:28 -03:00
Juan Linietsky
33f1204dc4 Fix error reporting when a scene is not imported properly, closes #3968 2016-06-26 15:37:39 -03:00