Commit graph

394 commits

Author SHA1 Message Date
Juan Linietsky
cf5778e51a -Added ViewportContainer, this is the only way to make viewports show up in GUI now
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Rémi Verschelde
de648e552b Merge pull request #6575 from Geequlim/more_themes
More custom theme support for editor
2016-10-03 11:50:18 +02:00
George Marques
0ec2b7baea
Fix crash when disabling main screen plugin 2016-09-21 19:17:55 -03:00
Geequlim
fd236a4b6c More custom theme support for editor 2016-09-20 20:41:57 +08:00
Rémi Verschelde
d47e1f11fe Merge pull request #6549 from Hinsbart/default_layout
Make the choosable default editor layout the same as the actual default

[ci skip]
2016-09-19 18:59:53 +02:00
Andreas Haas
a2bff72eee
Make the choosable default editor layout the same as the actual default one.
Fixes #6266
2016-09-19 18:52:08 +02:00
George Marques
98e7c1edba
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.
2016-09-16 15:02:01 -03:00
Juan Linietsky
08688931a1 Call run callback 2016-09-14 19:44:08 -03:00
Juan Linietsky
a75f5f039e Added API version and hashing to ObjectTypeDB 2016-09-14 19:37:37 -03:00
Juan Linietsky
bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky
8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky
f10d2bd394 -Add a distraction free mode button (so users know it's there)
-Made distaction free not hide the top bar, it's more loss than gain to hide it
-Fix fullscreen toggling and added a menu option for it so it's also visible in settings.
2016-09-13 09:48:12 -03:00
Juan Linietsky
1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky
67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00
Juan Linietsky
fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Ralf Hölzemer
991a433cb3 Move hardcoded theme colors from editor_node into editor_themes 2016-09-09 20:16:13 +02:00
Ignacio Etcheverry
7c4f6c654b Merge pull request #6190 from iammangod96/patch-1
Fixed running the game before saving scene
2016-09-08 22:10:50 +02:00
Rémi Verschelde
91a5c77282 Merge pull request #6185 from TheHX/pr-issue-3496
Better editor settings for the FileSystem dock
2016-08-29 19:04:33 +02:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Manish Sharma
82728b3384 Fixed running the game before saving scene
Closes #6184
2016-08-18 09:49:07 +05:30
Franklin Sobrinho
f6b39827b1 Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock
2016-08-16 15:27:00 -03:00
Johan Manuel
cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03: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
Daniel J. Ramirez
24fdf06b2f Configurable shortcuts for tabs switching 2016-06-24 23:42:09 -05:00
volzhs
3dd4cf3fed Fix autosave when run on remote device
Fix #5367
2016-06-24 21:20:43 +09:00
Rémi Verschelde
44c37e9b13 Merge pull request #5282 from Hodes/master
editor_node.cpp now takes care of removing plugin after deactivating it
2016-06-22 07:49:37 +02:00
Juan Linietsky
eff0bd2d48 Merge pull request #5304 from djrm/shortcuts
switch tabs using ctrl+tab and ctrl-shift-tab, added shortcuts for scene tree dock
2016-06-19 18:05:53 -03:00
Daniel J. Ramirez
753d86f27a Switch tabs using CTRL+TAB and CTRL+SHIFT+TAB 2016-06-19 14:32:49 -05:00
George Marques
4ee9a10332
Fix layout menu labels and shortcuts 2016-06-19 14:53:27 -03:00
Rémi Verschelde
e76f744c36 Merge pull request #5283 from djrm/remove_prints
Removed lots of prints
2016-06-19 13:10:23 +02:00
Rémi Verschelde
c9498e12a5 Merge pull request #5243 from Geequlim/editor-themes
Clean up editor theme creation
2016-06-19 13:01:02 +02:00
Rémi Verschelde
f70aa176e5 Merge pull request #5166 from djrm/shortcuts
Added customizable shortcuts for tile map editor
2016-06-19 12:50:35 +02:00
Juan Linietsky
29177e1e9b make default extension .tscn 2016-06-18 23:18:10 -03:00
Daniel J. Ramirez
422fac5066 Removed lots of prints 2016-06-18 18:01:06 -05:00
hodes
7544cd6ce2 editor_node.cpp now takes care of removing plugin after deactivating it 2016-06-18 19:29:16 -03:00
Rémi Verschelde
c3bf11d4d4 Drop fully commented-out files
Part of #5272
2016-06-18 20:23:49 +02:00
Juan Linietsky
61655d6dc2 Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872 2016-06-18 11:13:03 -03:00
Geequlim
06690989f1 Clean up editor theme creation 2016-06-18 13:32:03 +08:00
Juan Linietsky
f0d9245ecf -added missing .inc files
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Paulb23
3e50ec71e9 Added fullscreen and distraction free mode shorcuts 2016-06-15 17:25:17 +01:00
Juan Linietsky
7f02627290 -Add visible IO errors when closing a file fails due to it being locked (most likely on windows), closes #4760 2016-06-13 10:10:50 -03:00
Daniel J. Ramirez
9b7e21698d Added shortcuts to convert_to/MeshLibrary and convert_to/TileSet (pretty handy), dissabled by default. 2016-06-12 16:39:12 -05:00
Juan Linietsky
5c5e22b252 Fix the warning message from not using the editor theme, closes #5002 2016-06-11 21:38:25 -03:00
Juan Linietsky
e8209b9c5c Prevent crash in specific situation of removing a plugin, fixes #5019 2016-06-11 20:51:44 -03:00
Juan Linietsky
00bfdc834b Better way to disable asset library 2016-06-09 22:47:43 -03:00
Juan Linietsky
d02261fc84 Disable asset library compilation if no openssl exists 2016-06-09 21:20:49 -03:00
Juan Linietsky
47944098c2 Merge pull request #5007 from bojidar-bg/asset-store
Update asset library editor plugin, adding a bit new functionality and fixes
2016-06-08 07:58:06 -03:00
Juan Linietsky
040c87ea7b Merge pull request #5093 from DimOkGamer/more_translatable_strings
Fixed localization in file dialogs
2016-06-08 07:54:05 -03:00
Juan Linietsky
d61b91cbe0 -Heavily improved editor startup and exit performance 2016-06-07 22:10:09 -03:00
DimOkGamer
ceae11ee29 Fixed localization in file dialogs
and two more lines.
2 fixes in ru.po.
2016-06-07 22:48:16 +03:00
Bojidar Marinov
e4a24812cd
Update asset library editor plugin - new functionality and fixes 2016-06-07 21:49:19 +03:00
Juan Linietsky
be830d10c2 Merge pull request #5026 from Geequlim/patch9frame-extension
Enhanced Patch9Frame
2016-06-06 20:15:33 -03:00
Juan Linietsky
9df4c18853 Merge pull request #5056 from SaracenOne/bitmask_import_plugin
Bitmask import plugin
2016-06-06 20:07:30 -03:00
Rémi Verschelde
955ed0a95f HiDPI: Use global/hidpi_mode as property 2016-06-06 07:38:39 +02:00
Juan Linietsky
684a1207c0 make hdpi manually configurable in project settings
also added hidpi support to project manager
2016-06-05 18:43:56 -03:00
Saracen
1dab0aab7c Bitmask import plugin 2016-06-05 19:14:39 +01:00
Juan Linietsky
007efb6a20 -customizable shortcuts in editor
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Geequlim
9546b2ffd4 Add plugin to pick texture region and patch margins for Patch9Frame 2016-06-05 00:45:53 +08:00
Juan Linietsky
3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03:00
Juan Linietsky
26332479d3 Signals became a tab
added icons to contextual scene tree menu
2016-06-03 21:03:22 -03:00
Juan Linietsky
2ca4995a6f Cleaned up remote menu
-Merged fileserver & deploy dumb clients option
-Live Script Reloading can now happen automatically on script save
-Changed Live to Mirror term to differentiate from Unity and Unreal, as
what Godot does is not the same thing.
2016-06-03 12:34:25 -03:00
Rémi Verschelde
182ee80b7d Merge pull request #4926 from Paulb23/fullscreen_and_distraction_free_mode
Added fullscreen and distraction free modes
2016-06-02 08:38:53 +02:00