Commit Graph

340 Commits

Author SHA1 Message Date
George Marques 0ec2b7baea
Fix crash when disabling main screen plugin 2016-09-21 19:17:55 -03: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