aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_plugin.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Defer the scan filesystem call when adding import pluginsGeorge Marques2017-12-091-3/+2
| | | | | | This ensures every plugin is added before the scan is made. Fix #12749
* Exposed EditorSceneImporter to script. Added APIs to use intermediate ↵Juan Linietsky2017-12-071-0/+11
| | | | converters more easily.
* Add method to set main screen plugin iconWaldson Patrício2017-12-061-0/+9
|
* Universalize draw-over API for EditorPluginsPedro J. Estébanez2017-11-241-7/+39
| | | | | | | | | - 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.
* Merge pull request #12982 from tagcup/aabb_renameRémi Verschelde2017-11-171-2/+2
|\ | | | | Rename Rect3 to AABB.
| * Rename Rect3 to AABB.Ferenc Arn2017-11-171-2/+2
| | | | | | | | Fixes #12973.
* | Make resources edited by plugins be sent as referenceGeorge Marques2017-11-171-1/+5
|/ | | | This ensures that a plugin can save a resource using the ResourceSaver.
* Reworked how servers preallocate RIDs, should fix #10970Juan Linietsky2017-11-091-2/+2
|
* Bind unbound enums, rearrange some by valuePoommetee Ketson2017-10-221-0/+1
|
* Fixes snapping and replaces the _draw_canvas by forward_canvas_drawGilles Roudiere2017-10-181-4/+4
|
* Fix argument names in method bindings.Andreas Haas2017-10-111-1/+1
| | | | Adds a couple of missing argument names.
* Prevent a possible crash when exporting to MeshLibraryMarcelo Fernandez2017-09-281-1/+3
|
* Re-Added export plugins with a more interesting API, as well as the ability ↵Juan Linietsky2017-09-141-0/+10
| | | | | | to do path remapping. Also added ability to tell the exporter that a shared object needs to be bundled in the build.
* Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky2017-08-291-5/+5
|\ | | | | DocData and virtual method type hints fixes
| * DocData and type hints fixesIgnacio Etcheverry2017-08-291-5/+5
| | | | | | | | | | | | | | - Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
* | -Some fixes to code completion.Juan Linietsky2017-08-281-0/+112
|/ | | | | -Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* -Split EditorPlugin into EditorPlugin and EditorInterfaceJuan Linietsky2017-08-261-88/+122
| | | | | -Added EditorInterface to EditorScript -Added functions to save the scene to EditorInterface
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-1/+1
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-16/+16
|
* EditorPlugin: Renames virtual method hiding inherited methodIgnacio Etcheverry2017-08-161-3/+3
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-20/+20
|
* EditorPlugin methods and signals renameJakub Grzesik2017-07-201-2/+2
|
* Merge pull request #9703 from Noshyaar/docsRémi Verschelde2017-07-191-3/+3
|\ | | | | Add object type hint for docs
| * Add object type hint for docsPoommetee Ketson2017-07-191-3/+3
| |
* | Make available more informations about editor for Tool PluginsJakub Grzesik2017-07-181-0/+49
|/
* EditorPlugin ability to open and reload scns from filepathJakub Grzesik2017-07-111-0/+20
|
* Fix filesystem update for import pluginsGeorge Marques2017-06-271-2/+2
|
* EditorPlugin can request user inputs from editor 3d viewUnknown2017-06-121-0/+8
|
* Added EditorPlugin.remove_import_plugin()Zher Huei Lee2017-06-111-0/+6
| | | | | Allows addons with import extensions to clean up properly on removal.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-4/+4
| | | | this might cause bugs I haven't found yet..
* Bring back EditorImportPluginAndreas Haas2017-05-121-1/+6
| | | | | This adds a new implementation of the EditorImportPlugin class, allowing to leverage the new importing system via tool scripts. Will be especially useful when used together with GDNative, to support formats like fbx :)
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-119/+99
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-0/+432
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.