Commit graph

282 commits

Author SHA1 Message Date
Nathan Warden 4bfb504c2f Added an auto quit and auto build flag to the command line options. 2018-02-19 16:22:55 -05:00
Rémi Verschelde d71d78b7e7
Merge pull request #15862 from poke1024/esc-close-dock
Make KEY_ESCAPE close all output/debugger docks on bottom
2018-02-14 16:12:38 +01:00
Michael Alexsander Silva Dias 08559a68d2 Small changes to the "Recent Scenes" menu. 2018-02-02 17:18:55 -02:00
Juan Linietsky 1322ca6fb2 Ability to import .escn files, which is just a .tscn but with forced import.
This works together with the new Blender to Godot exporter.
2018-01-30 11:04:22 -03:00
Bernhard Liebl 2ae2735a7a Make KEY_ESCAPE close all output/debugger docks on bottom 2018-01-19 09:04:55 +01:00
Rémi Verschelde 9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Juan Linietsky 702e28f265 Properly save the new save safe setting, avoid crash. 2018-01-12 17:18:40 -03:00
Juan Linietsky e56b3439a5 Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339. 2018-01-12 17:03:52 -03:00
Blazej Floch 9d3eb3d2b0 Fixes #15416 - "The deleted nodes are hanging in the inspector." 2018-01-08 03:12:41 -05:00
Rémi Verschelde 25e942d64f
Merge pull request #15438 from endragor/export-after-import
Perform export after import is fully complete
2018-01-07 14:27:03 +01:00
Juan Linietsky 50b975548d Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828 2018-01-06 16:38:36 -03:00
Juan Linietsky 061db1ca95 Avoid crashing when dependencies on inherited/instanced scenes cant be satisfied, fixes #15298 2018-01-05 19:02:54 -03:00
Rémi Verschelde e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde d65ac7378c Fix crash in OS::execute on FreeBSD
As spotted by @robfram, closes #15288.
Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-04 01:20:20 +01:00
Rémi Verschelde 5cbbf87e60
Merge pull request #15226 from volzhs/copy-resource
Copy resource with specific extension
2018-01-03 11:56:08 +01:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
volzhs 4d0097e8ae Copy resource with specific extension
Fix #15169
2018-01-01 02:35:46 +09:00
Ruslan Mustakov ab12a5cf8e Perform export after import is fully complete
Previously command line export would go simultaneously with reimport,
which caused final package to either miss something or contain
outdated assets or perhaps even broken ones.
2017-12-30 16:39:09 +07:00
Michael Alexsander Silva Dias 68a6edfd1b Fixed right dock dragger not disappearing when there is no docks there. 2017-12-22 17:12:13 -02:00
Rémi Verschelde 03823f12c5 EditorSettings: Move scene tab options to their dedicated category
Fixes #14870.
2017-12-20 19:41:02 +01:00
Juan Linietsky bf47b15e2c Good while it lasted, restored full 3D for 2D viewport, as required for Canvas BG mode. Fixes #14540 2017-12-19 15:59:32 -03:00
Rémi Verschelde 8f25a2dc11 Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
Juan Linietsky 251433847f -Added new scene conversion to binary on export (disabled by default, please test)
-This method works by directly converting text to binary, so the scene does not need to be loaded and saved
2017-12-15 08:39:26 -03:00
Juan Linietsky 93a63a5e1a GDScript files are converted to binary on export now. 2017-12-14 15:34:47 -03:00
Juan Linietsky f3ad14224e -Add lightmapper
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Paulb23 bdde82169d Fixed close current scene closing the wrong scene, issue 13844 2017-12-10 12:48:03 +00:00
Rémi Verschelde a845411454 Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
Juan Linietsky 209cb3830c Exposed EditorSceneImporter to script. Added APIs to use intermediate converters more easily. 2017-12-07 15:44:20 -03:00
George Marques cac5aa498f
Merge pull request #14348 from waldson/feature-set-main-screen-plugin-icon
Add method on EditorPlugin to set main screen plugins icons
2017-12-07 13:16:47 -02:00
Juan Linietsky b38378dd6c Reduce some graphics memory usage by disabling unnecesary modes, closes #12831 2017-12-06 20:49:54 -03:00
Waldson Patrício c6f28925e2 Add method to set main screen plugin icon 2017-12-06 19:31:25 -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