Commit Graph

912 Commits

Author SHA1 Message Date
Juan Linietsky 74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Franklin Sobrinho 72557b6fbc Improved "Qucik Open" dialog navigation 2016-01-17 10:49:52 -03:00
Juan Linietsky 72fcb8a35b -Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent

This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
MarianoGNU dc7755ffcd Add a visual editor to color picker. 2016-01-15 17:23:19 -03:00
Ignacio Etcheverry e80e450ee8 F5 hotkey to refresh FileDialog/EditorFileDialog 2016-01-15 21:19:16 +01:00
Rémi Verschelde 3c6dd5749d Merge pull request #3204 from neikeq/fix_3153
Consider texture offset when rotating tiles
2016-01-15 16:53:16 +01:00
Rémi Verschelde d64a9526cd Merge pull request #2928 from akien-mga/pr-subscene-icon-in-dock
Moved subscene creation from scene menu to an icon on the scene dock
2016-01-15 14:34:39 +01:00
Rémi Verschelde bd968ce2f8 Merge pull request #3324 from TheHX/pr-property-editor
Better search for SectionedPropertyEditor, added "All" section
2016-01-15 14:01:55 +01:00
Rémi Verschelde 1fc96e2dca Merge pull request #3329 from SaracenOne/color_ramp_fix
Color Ramp Editor Plugin Fix
2016-01-15 13:54:04 +01:00
Rémi Verschelde d4a2409334 Merge pull request #3338 from godotengine/kubecz3k-patch-1
Ability to hide  panel with scripts
2016-01-15 13:52:29 +01:00
Rémi Verschelde bbeac36cb5 Merge pull request #3356 from neikeq/qwe_dialog
Spatial/Canvas Editor: Ignore unhandled input if there is a dialog
2016-01-15 12:17:06 +01:00
Ignacio Etcheverry e187762c2d Spatial/Canvas Editor: Ignore unhandled input if there is a dialog 2016-01-15 11:37:45 +01:00
Juan Linietsky d222229149 properly export sample compression type option 2016-01-14 11:50:24 -03:00
Juan Linietsky 4248c84e20 -Make sure scenes properly update when switching tabs, even if sub-instances changed. Fixes #3201 2016-01-14 11:06:20 -03:00
Juan Linietsky e2be837520 sample convert option was not being saved 2016-01-14 09:09:35 -03:00
kubecz3k ca0a6c4d59 Ability to hide panel with scripts
Minimal horizontal size for  panel with scripts was = 70, changed it to 0.
It's especially helpful if someone is working on a laptop, or just don't like to have anything on the left side of the screen.
Video  that shows how it's working after the change: https://www.youtube.com/watch?v=Y_o4pOpjyhY&feature=youtu.be
2016-01-13 16:47:10 +01:00
Juan Linietsky c4cee22510 Properly fix tab scrolling, fixes #3128, fixes #3314 2016-01-13 07:39:31 -03:00
Saracen 0b1f395e7d Fixed color ramp editor plugin to allow editing color ramps while in the spatial editor. 2016-01-12 20:13:45 +00:00
Franklin Sobrinho 94a60f408a Better search for SectionedPropertyEditor, added "All" section 2016-01-12 09:40:35 -03:00
Rémi Verschelde f3383ded64 Merge pull request #3310 from eska014/export-zip
Replace export pack mode "Copy" with "Exec+Zip"
2016-01-12 10:48:57 +01:00
Juan Linietsky eab1e5b596 small hack to make collisionobjects work with replace, fixes #2992 2016-01-12 05:54:45 -03:00
Rémi Verschelde 0b4c088089 Merge pull request #3320 from neikeq/ed_layouts_default
Allow to override the default editor layout
2016-01-11 23:55:36 +01:00
Ignacio Etcheverry 60adf21bc6 Allow to override the default editor layout 2016-01-11 23:51:45 +01:00
Rémi Verschelde 1f1c3038c2 Update copyright in remaining files + prints in the UI 2016-01-11 21:34:22 +01:00
Rémi Verschelde e212058841 Merge pull request #3308 from neikeq/keep_xform_settings
Remember Transform menu settings for the Spatial Editor
2016-01-11 14:53:35 +01:00
Ignacio Etcheverry aa9c2e68c6 Remove unnecessary fail conditions when loading SpatialEditor state 2016-01-11 14:43:37 +01:00
Ignacio Etcheverry f25897527e Remember Transform menu settings for the Spatial Editor 2016-01-11 14:00:25 +01:00
Rémi Verschelde cbab728049 Merge pull request #3276 from TheHX/pr-quick-open
Quick open now can open multiple scenes and scripts
2016-01-11 11:42:13 +01:00
Rémi Verschelde 7055d38c30 Merge pull request #3309 from MarianoGnu/bug_fixing3
Make SpriteRegionEditor remember state when switching scenes (fixes #3245)
2016-01-11 11:28:03 +01:00
Rémi Verschelde a8a09f6180 Merge pull request #3302 from MarianoGnu/bug_fixing2
Allow to paste resources in inspector when text_hint indicates multip…
2016-01-11 08:53:35 +01:00
Rémi Verschelde 373af4f620 Merge pull request #3303 from TheHX/pr-script-editor
Fix script highlighting for classes that begin with "_"
2016-01-11 08:52:12 +01:00
Juan Linietsky 6eb742d49f -Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102 2016-01-10 21:45:58 -03:00
eska 31778e7853 Replace export pack mode "Copy" with "Exec+Zip"
- Make "Bundle" a separate option
- Change pack mode property hint to be more expressive
2016-01-10 23:28:14 +01:00
MarianoGNU fd14c73e67 Make SpriteRegionEditor remember state beatwhen setions (fixes #3245) 2016-01-10 19:02:32 -03:00
Juan Linietsky eb7901c8b8 -Project settings can properly add/remove properties again, fixes #3177 2016-01-10 17:08:02 -03:00
Juan Linietsky 027072728e restored quit to project list keybinding, but kept change for OSX, closes #3185 2016-01-10 15:57:24 -03:00
Juan Linietsky 729ab84a49 wrong extensions shown when saving resources fixed 2016-01-10 15:38:47 -03:00
Juan Linietsky 0b472764e4 forgot initialization of path in filesystem dock, fixes #3295 2016-01-10 14:38:45 -03:00
Franklin Sobrinho 56bc005643 Fix script highlighting for classes that begin with "_" 2016-01-10 12:20:04 -03:00
Juan Linietsky cc34e0dee9 Make sure variant parser actually writes floats when float property is requested, closes #3301 2016-01-10 11:51:05 -03:00
MarianoGNU 21b5e9eef4 Allow to paste resources in inspector when text_hint indicates multiple types 2016-01-10 11:33:45 -03:00
Franklin Sobrinho 7fa233cd89 Fix some error messages 2016-01-09 08:35:57 -03:00
Rémi Verschelde 515567d491 Merge pull request #3282 from TheHX/pr-script-debugger
Fix debugger close button and script editor "Show Debugger"
2016-01-08 20:50:41 +01:00
Franklin Sobrinho 514eed4072 Fix debugger close button and script editor "Show Debugger" 2016-01-08 16:43:50 -03:00
Rémi Verschelde e3d4a851b7 Merge pull request #3280 from neikeq/issue_3227
Fix TileSet not refreshed after exporting without merge
2016-01-08 18:04:36 +01:00
Ignacio Etcheverry b4602567cf Fix TileSet not refreshed after exporting without merge 2016-01-08 17:54:13 +01:00
Rémi Verschelde 405cfb6da2 Merge pull request #3278 from neikeq/issue_305
Close scene menu option asks for confirmation only if there are unsaved changes
2016-01-08 17:03:58 +01:00
Ignacio Etcheverry 43b292de1e Scene->Close scene: ask confirmation only when unsaved changes 2016-01-08 16:53:47 +01:00
Franklin Sobrinho 7fa3bd4e78 Quick open now can open multiple scenes and scripts 2016-01-08 08:27:34 -03:00
Rémi Verschelde ecbc6574fe Use better icon by @MarianoGnu 2016-01-08 07:33:26 +01:00
Rémi Verschelde 33f4010378 Merge pull request #3250 from akien-mga/pr-uniform-scaling-canvasitem
Fix uniform scaling of non-square CanvasItem nodes
2016-01-07 14:34:21 +01:00
Rémi Verschelde a0c39a4b33 Merge pull request #3191 from neikeq/filedialog_hotkeys
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-07 07:50:26 +01:00
Rémi Verschelde bc3b1a63ba Merge pull request #3208 from nounoursheureux/master
You can now create an inherited scene based on an already opened scene
2016-01-06 18:31:33 +01:00
Nounours Heureux f32a06e470 You can create an inherited scene based on an already opened scene. 2016-01-06 17:46:45 +01:00
Rémi Verschelde 820770e2e0 Merge pull request #3187 from neikeq/fix_3186
Fix editor layout saving
2016-01-06 11:58:03 +01:00
Rémi Verschelde 9849df9438 Merge pull request #3217 from neikeq/asframes_patch
Disable renaming SpriteFrames
2016-01-06 11:49:22 +01:00
Rémi Verschelde 30ce222205 Merge pull request #3216 from nounoursheureux/spriteframes
Show the texture name after the frame number in the SpriteFrames editor
2016-01-06 11:49:08 +01:00
Rémi Verschelde a82e6f0baa Merge pull request #3219 from nounoursheureux/change_subscene_string
Change Import > Sub-Scene to Import > Node from scene
2016-01-06 11:48:22 +01:00
Rémi Verschelde fa0500557f Fix uniform scaling of non-square CanvasItem nodes
Fixes #3224.
I chose the longest side of the original node (width vs height) as the "guiding direction" to handle the ever changing drag_vector and avoid issues when a component changes sign.
2016-01-06 00:13:07 +01:00
Juan Linietsky 010e3e0ac7 -completely rewritten filesystem dock and internal editor filesystem management, fixes #1926
-filesystem dock now tracks objects and directories in real-time, fixes #2009
2016-01-05 10:36:24 -03:00
Ignacio Etcheverry a9dbe83155 TileMap: Properly flip/rotate tiles with non-square region 2016-01-04 15:28:11 +01:00
Juan Linietsky 30d4a50b42 Fix KP5 toggle perspective shortcut, fixes #2035 2016-01-04 00:17:28 -03:00
Juan Linietsky d5b8131f27 small usability improvement, change everything related to resolution and scaling together in the project settings, closes #1974 2016-01-03 19:47:07 -03:00
Juan Linietsky 908f75c23f having active items is pointless in input map 2016-01-03 18:52:42 -03:00
Juan Linietsky e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Nounours Heureux 1c3a448a32 Change Import > Sub-Scene to Import > Node from scene 2016-01-03 18:07:05 +01:00
Ignacio Etcheverry ac7145c3be Disable renaming AnimatedSprite frames 2016-01-03 12:45:12 +01:00
Nounours Heureux 07d8558eee Show the texture name after the frame number in the SpriteFrames editor 2016-01-03 09:31:10 +01:00
Juan Linietsky 939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Juan Linietsky 1597082c85 -Ability to roll-back script-exported properties to their default value on the script, closes #2128 2016-01-02 20:17:31 -03:00
Juan Linietsky b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Juan Linietsky be73e2d2f2 fixed uninitialized tool mode in path 2d editor 2016-01-02 15:42:14 -03:00
Juan Linietsky cd3dfdaf18 Support BMFont in font editor plugin, closes #2204 2016-01-02 14:53:48 -03:00
Ignacio Etcheverry e22e0cecf7 TileMap: Consider texture offset for rotated tiles 2016-01-02 18:17:20 +01:00
Juan Linietsky 84f96eb523 -New reparent option "keep global transform" on reparent dialog. It is enabled by default. Closes #2284 2016-01-02 11:57:47 -03:00
Juan Linietsky b60371074f Properly hide assign/clear dialog, closes #2295 2016-01-02 10:47:50 -03:00
Juan Linietsky 432e2e7769 proper joy axis support as actions, can be configured and inquired, fixes #2317 2016-01-02 09:37:16 -03:00
Ignacio Etcheverry 3ca800226e FileDialog: keyboard shortcut to toggle "show hidden files" 2016-01-02 12:58:38 +01:00
Ignacio Etcheverry fc17ec04fc Fix editor layout saving 2016-01-01 18:48:14 +01:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky d014518a1a Make sure auto bracket completion setting always works, closes #2332 2016-01-01 09:52:01 -03:00
Juan Linietsky 6b1849d29b make json sub-dictionaries shared, fixes #2381 2015-12-31 17:56:51 -03:00
Juan Linietsky 565513fb89 When inserting new values in array property editor, keep type of last item, closes #2391 2015-12-31 17:46:07 -03:00
Juan Linietsky 9c38ad0093 changed shortcuts to be better friends with OSX, closes #2398 2015-12-31 16:14:04 -03:00
Juan Linietsky ff1763e38f properly implement save as from script editor, fixes #2415 2015-12-31 13:12:27 -03:00
Juan Linietsky 8dad6415b1 -Fixed focus for shader editor when switching tab, closes #2551 2015-12-31 10:50:39 -03:00
Juan Linietsky 335c52ba03 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-31 00:33:07 -03:00
Juan Linietsky fd836cad27 -Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed
-Created a VariantWriter helper to unify all variant to text writing
-Moved SceneFormatText writing to VariantWriter
-Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
2015-12-31 00:31:00 -03:00
reduz 555ad5f8b7 removed wron return types, fixes #2483
removed console, which was obsolete and unused sine long long ago
2015-12-29 18:46:21 -03:00
reduz 135d5fb06d -property change object's rotation pivot on children of scaled CanvasLayer, fixes #2599 2015-12-29 07:31:50 -03:00
reduz 4028dfa6d2 do not allow editing of tilemap if it's invisible, fixes #2601 2015-12-28 21:23:32 -03:00
reduz 496cb49771 Fix proper ordering of project settings properties, also fixes inability to change order of autoloads 2015-12-28 18:04:22 -03:00
reduz 110de2ccac -Added proper code completion for singletons 2015-12-28 16:36:29 -03:00
reduz e0d21d2158 Ability to set autoloads as singleton global variables 2015-12-28 15:59:20 -03:00
reduz 5d47e42eb6 Merge branch 'master' of https://github.com/okamstudio/godot 2015-12-28 09:39:12 -03:00
reduz fcd4b1a421 -added a visual tool to change the pivot of a sprite/asprite/polygon/etc. Closes #2670 2015-12-28 09:38:15 -03:00
Rémi Verschelde d4993b74fc Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
reduz 9d9520f227 Merge branch 'master' of https://github.com/okamstudio/godot 2015-12-26 10:27:04 -03:00
reduz 13964f59c1 -Added table support to RichTextLabel
-Made help more readable, closes #2851
2015-12-26 10:25:17 -03:00
hondres b431c88146 Colorize Rect2 and NodePath in script editor 2015-12-24 04:20:26 +01:00
Juan Linietsky 15429d6ac9 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-21 09:07:06 -03:00
Juan Linietsky 81f62fb78c -Fix to progress dialog, speding it up
-Fix potential deadlock in stream player
-Fix collada to support broken files from ColladaMaya
2015-12-21 09:05:49 -03:00
Ariel Manzur a5fe71a0e9 this failed in msvc, didn't in linux and mingw 2015-12-20 11:42:55 -03:00
Rémi Verschelde bf5453e429 Remove padding in bottom HBoxContainer of scene tree dock
This way the new "Create new scene from node(s)" button does not make the bar overflow
2015-12-19 10:41:45 +01:00
Rémi Verschelde ed1c4d83a6 Merge pull request #3090 from neikeq/fix_3088
Fix Remove Item option in TileSet plugin
2015-12-16 10:18:20 +01:00
Juan Linietsky fb01d18251 small fix for undo redo 2015-12-16 00:42:34 -03:00
Juan Linietsky d3cd1250bd added labels to sections and properties 2015-12-16 00:08:50 -03:00
Juan Linietsky 686c65a354 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-15 23:40:29 -03:00
Juan Linietsky a1142225bf -split view of property editor and editor settings 2015-12-15 23:39:36 -03:00
Ignacio Etcheverry d74c56289f Fix Remove Item option in TileSet plugin 2015-12-15 23:35:35 +01:00
Rémi Verschelde 08cab3a17a Merge pull request #3080 from akien-mga/pr-input-presets
Prevent deleting input presets as it does not work
2015-12-15 19:21:57 +01:00
Rémi Verschelde 9cb4798f6b Merge pull request #3083 from TheHX/pr-file-dialog
Add editor setting for display mode on file dialog and filesystem dock
2015-12-15 19:15:56 +01:00
Franklin Sobrinho d9f4d3952d Add editor setting for display mode on file dialog and filesystem dock 2015-12-15 14:36:04 -03:00
Rémi Verschelde 87a415f275 Prevent deleting input presets as it does not work
Follow-up of #3076.
Now the only thing possible to do with input presets is to add/remove key bindings. It was already the case previously but it's now clearer in the UI.
2015-12-15 08:45:34 +01:00
Rémi Verschelde 69c79c0d4a Merge pull request #3076 from neikeq/rename_actions
Option to rename input actions
2015-12-14 23:33:06 +01:00
Ignacio Etcheverry 577bbcc6b3 Forbid renaming input presets 2015-12-14 22:36:53 +01:00
Ignacio Etcheverry fa085a9c2c Added input actions renaming 2015-12-14 20:44:57 +01:00
Franklin Sobrinho fd59d17b22 Avoid project manager from processing gamepad input 2015-12-14 16:31:37 -03:00
Ignacio Etcheverry 6e4b1ff838 Fix editor layouts broken after 9a7ff65 2015-12-14 16:44:15 +01:00
Rémi Verschelde bfaa179e70 Merge pull request #3074 from neikeq/editor_layouts_patch
Editor layout dialog: name field grabs focus on popup
2015-12-14 14:26:25 +01:00
Juan Linietsky 4713bcccf3 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-14 10:25:19 -03:00
Ignacio Etcheverry d558ced434 Editor layout dialog: name field grabs focus on popup 2015-12-14 14:16:29 +01:00
Rémi Verschelde c262becd7b Merge pull request #3073 from TheHX/pr-editor-dialogs
Implement double-click on remaining dialogs
2015-12-14 13:22:35 +01:00
Franklin Sobrinho 12bfb55c6c Implement double-click on remaining dialogs 2015-12-14 08:43:56 -03:00
Juan Linietsky f2183a5e09 replaced :var by :Variant in documentation, fixes #2897 2015-12-14 08:28:01 -03:00
Juan Linietsky 534c8e74b9 do not open dominant script if external editor is selected, fixes #3067 2015-12-14 08:21:18 -03:00
Rémi Verschelde 7155f75e22 Merge pull request #3061 from TheHX/pr-tree-dialogs
Double-click item for reparent and choose a node in NodePath dialog
2015-12-14 07:39:51 +01:00
Rémi Verschelde 55684dbea4 Merge pull request #3065 from TheHX/pr-array-editor
Fix array editor NodePath being relative to editor
2015-12-14 07:39:17 +01:00
Juan Linietsky 7f96f0603e -scenes are properly reloaded when a dependency changes, fixes #2896
(it's clevery done so local changes to scenes are kept even if unsaved)
2015-12-13 20:39:01 -03:00
Juan Linietsky 72ff61963b fixed and improved selection and list selection, closes #2852 2015-12-13 17:16:13 -03:00
Juan Linietsky 95a469ad28 added binary API to StreamPeer, fixes #2863 2015-12-13 12:53:29 -03:00
Franklin Sobrinho 2e8ed75d8d Fix array editor NodePath being relative to editor 2015-12-13 11:42:29 -03:00
Franklin Sobrinho 4523a591d3 Double-click item for reparent and choose a node in NodePath dialog 2015-12-13 08:47:54 -03:00
Juan Linietsky 451b1d9144 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-13 08:01:14 -03:00
Juan Linietsky 450926693f fix zip export 2015-12-13 07:50:07 -03:00
Rémi Verschelde cdf07327bc Merge pull request #3045 from TheHX/pr-nav-mesh
Fix crash caused by a empty NavigationMesh
2015-12-13 10:10:49 +01:00
Rémi Verschelde 8c005e2b73 Merge pull request #3047 from eska014/fix-play-project-button
Fix "Play Project" button icon
2015-12-13 10:10:08 +01:00
Rémi Verschelde 3e733afaaa Merge pull request #3053 from TheHX/pr-revert-3043
Remove last remaining variables of PR-3043
2015-12-13 10:09:23 +01:00
Juan Linietsky 709de124c1 ability to export scene to zip 2015-12-13 01:08:36 -03:00
Juan Linietsky bbb2a863f9 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-12 19:22:16 -03:00
Juan Linietsky 9f75dd086e no more time error, fixes #2892 2015-12-12 19:21:43 -03:00
Franklin Sobrinho df57239f7f Remove last remaining variables of PR-3043 2015-12-12 18:15:31 -03:00
Juan Linietsky 97fe073f33 Merge pull request #2933 from TheHX/pr-shader-loader
Fix shader loading, making possible load .shd and .sgp from editor
2015-12-12 17:36:52 -03:00
Franklin Sobrinho 3dead22454 Fix crash caused by a empty NavigationMesh 2015-12-12 14:06:27 -03:00
Juan Linietsky e19f176765 fix broken merge 2015-12-12 10:21:22 -03:00
Juan Linietsky a2d817405e Merge branch 'master' of https://github.com/godotengine/godot 2015-12-12 10:14:13 -03:00
Juan Linietsky cd4c3f4d12 -added option to keep debugger open, fixes #3031 2015-12-12 10:09:50 -03:00
Franklin Sobrinho 4d644ca997 Script debugger remains visible when using Debug->Show Debugger 2015-12-12 10:04:51 -03:00
Juan Linietsky 990690f9f5 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-11 09:38:41 -03:00
Juan Linietsky fbda3c5d88 -remove (can be added back in editor settings) icons from property editor
-remove ".." from file dialog when opening res://, fixes #2994
2015-12-11 09:37:34 -03:00