Commit Graph

252 Commits

Author SHA1 Message Date
Juan Linietsky b38378dd6c Reduce some graphics memory usage by disabling unnecesary modes, closes #12831 2017-12-06 20:49:54 -03:00
Juan Linietsky 86fcc39fa9 Fix and rewrite folding logic, closes #14005, closes #13421 2017-12-06 19:07:17 -03:00
Juan Linietsky 1587f45c25 Make sure the scene warning of changes may be lost is only for scenes, fixes #13970 2017-12-05 13:26:45 -03:00
Andreas Haas 74969b4535
Merge pull request #13977 from waldson/fix-stop-scene-always-active
Fix stop button always enabled
2017-12-05 07:59:52 +00:00
Waldson Patrício 606401331a Fix stop button always enabled (issue #13933) 2017-12-04 16:48:46 -03:00
Dmitry Koteroff 45c5a865c2 Small fixes to #13233 2017-11-28 16:53:40 +03:00
Rémi Verschelde f041d2e8ec
Merge pull request #13233 from Krakean/add_eidtorinspector_collapseexpand_v2
Inspector: Implemented a collapse/expand all (v2)
2017-11-26 20:57:59 +01:00
Rémi Verschelde dc3509b2aa
Merge pull request #13259 from Paulb23/restore_scenes_on_startup_issue_2385
Restore scenes on startup, issue 2385
2017-11-26 20:16:06 +01:00
Rémi Verschelde ade39f5771
Merge pull request #13298 from YeldhamDev/translation_layout
Fix not being able to select an editor layout created in another language
2017-11-26 19:47:17 +01:00
Michael Alexsander Silva Dias 8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
Paulb23 76a53aa328 Restore scenes on startup, issue 2385 2017-11-24 23:32:54 +00:00
Pedro J. Estébanez 3f31925b18 Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
 - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
 - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
 - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
 - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Dmitry Koteroff aa20a84aa9 Implemented a collapse/expand all feature request for Inspector (issue #9427) via popup of "Object properties" button.
Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default.

Cosmetics fixes due to @Reduz notes.
2017-11-24 14:08:44 +03:00
Rémi Verschelde c846e49a7d Fix loop of scene tabs updates
It was a regression of f8e8b7d1a2,
thanks to @dragmz for finding it.
2017-11-21 08:46:39 +01:00
Rémi Verschelde 6065b2d177
Merge pull request #11940 from GodotExplorer/debugger
Enhanced debugger for godot 3.0
2017-11-20 22:55:49 +01:00
Poommetee Ketson 82ad05a20e
Merge pull request #13097 from ianb96/scene_tab_crash_fix
Fixes a crash on linux regarding scene tabs
2017-11-20 22:35:24 +07:00
Ian 9f308a5bf3 fix linux crash in _update_scene_tabs 2017-11-20 10:27:56 -05:00
Rémi Verschelde 4784e9506b
Merge pull request #12555 from kosz78/export-pck
Add command line support to export pck or zip
2017-11-20 15:19:06 +01:00
Rémi Verschelde 6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde 6947bed015 Pass engine name and version parts as proper strings
Removes the need for _MKSTR all over the place which has the drawback of
converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing
a compilation error.
2017-11-20 00:51:14 +01:00
Rémi Verschelde ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde 9143df1597
Merge pull request #13059 from dragmz/13009
Fix Regression: running current scene (unsaved) will ask for main scene
2017-11-19 23:50:28 +01:00
Marcin Zawiejski a14bd70995 Fix Regression: running current scene (unsaved) will ask for main scene 2017-11-19 22:59:05 +01:00
Rémi Verschelde d2bc961388
Merge pull request #13000 from djrm/pr_import_fixes
import fixes
2017-11-19 21:59:11 +01:00
Rémi Verschelde 6e3f2f44af Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
Rémi Verschelde 39a4a67776
Merge pull request #13043 from volzhs/post-import
Restore post_import function
2017-11-19 20:15:46 +01:00
Rémi Verschelde 3c5ce7cd85
Merge pull request #13031 from YeldhamDev/dock_label
Added a label to the Dock Positioner
2017-11-19 18:07:59 +01:00
volzhs 30af5e81db Restore post_import function 2017-11-19 23:45:16 +09:00
Michael Alexsander Silva Dias fd52555bbe Added a label to the Dock Positioner. 2017-11-19 03:24:55 -02:00
Ian f8e8b7d1a2 add scene button and tab scrolling 2017-11-18 20:31:51 -05:00
Daniel J. Ramirez 59c2e8906a Improved packed scene previews. 2017-11-17 21:42:14 -06:00
Andreas Haas 3495190497
Editor: Drop files to copy to project. 2017-11-17 21:52:55 +01:00
Rémi Verschelde ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
geequlim c655fc7cd8 Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
George Marques b96ee28acd
Add a print handler for the editor output panel 2017-11-16 21:57:02 -02:00
Chaosus acc45ccf41 Fix current scene run when scene saved 2017-11-16 21:47:10 +03:00
Juan Linietsky 04edfc090b Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
Daniel J. Ramirez 2932cc79ee Update meshes when reimporting,
Save scene preview even when not doing save and play.
2017-11-12 13:41:44 -06:00
Daniel J. Ramirez 592ee82010 Fixed theme update and some widgets. 2017-11-11 11:58:30 -06:00
Daniel J. Ramirez 8cf0d6ceb4 Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
Rémi Verschelde 9a4a59ce13
Merge pull request #12796 from djrm/pr_some_virtual_classes
Expose some editor singletons as virtual
2017-11-10 10:07:02 +01:00
Rémi Verschelde 346b4b5a1c
Merge pull request #12390 from MillionOstrich/filesystem-folder-drag
Improved file/folder drag preview for filesystem dock
2017-11-10 09:57:23 +01:00
Daniel J. Ramirez 31147ea3ed Expose some editor singletons as virtual 2017-11-09 22:25:10 -06:00
Caleb Richardson a607e6125e Fix crash when converting empty scene to TileSet
Closes #12708.
Cherry-picked from #12732.
2017-11-09 18:39:29 +01:00
MillionOstrich f6ca9d34a2 Improve file/folder drag preview on filesystem dock
Added icons for files/folders in drag preview
Fixed folders getting an empty string label
Don't show "1 more file(s)" label instead of the file
Added "more folders" case if moving folders exclusively
Merged drag_files and drag_files_and_dirs to reduce code duplication
Simplified get_drag_data_fw and removed commented out code
2017-11-03 21:39:53 +00:00
Konstantin Zaitsev 56b25b5fc8 Add command line support to export pck or zip 2017-11-01 14:39:20 +07:00
volzhs 59cc6f2ff5 Fix warning message format for addon plugin 2017-10-24 05:31:26 +09:00
Rémi Verschelde b7bebb0f92 Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
Fix recent scenes layout when resizing font
2017-10-21 23:41:33 +02:00
Rémi Verschelde 6361e24f29 Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
Felipe Seixas 651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00