summaryrefslogtreecommitdiff
path: root/editor/editor_plugin.cpp
AgeCommit message (Collapse)Author
2019-06-03Merge pull request #25522 from aqnuep/MeshLibrary_improvementsRémi Verschelde
MeshLibrary export improvements
2019-05-28Be able to add to the editor setting tabs.K. S. Ernest (iFIre) Lee
2019-03-12Add EditorInspector getter. Update Sub-Inspectors.Will Nations
2019-02-03MeshLibrary export improvementsDaniel Rakos
- From now materials assigned to the MeshInstance (not the Mesh) get exported into the MeshLibrary when such materials exist. This enables workflows where the MeshLibrary is exported from an imported scene (e.g. GLTF) where the materials assigned to the Mesh (not the MeshInstance) get overwritten on re-import, thus can't use editor set materials in the exported MeshLibrary unless they are assigned to the MeshInstance whose materials get saved with the inherited scene thus persist across re-imports. - When appending to an existing MeshLibrary only generate previews for newly added or modified meshes. - During preview generation transform camera and lights instead of the mesh and use the source MeshInstance's transform for the mesh to avoid weird previews being generated for meshes with a position dependent material (e.g. when using triplanar mapping). - Adjust the camera angle and light directions used in mesh preview generation for better results.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Merge pull request #24506 from JFonS/expose_gizmosRémi Verschelde
Expose the new gizmo plugin system to scripting
2018-12-27doc: Sync classref with current sourceRémi Verschelde
Fix various code formatting issues and argument names.
2018-12-21Expose the new gizmo plugin system to scriptingJFonS
2018-12-16Merge pull request #19501 from Zylann/custom_loadersRémi Verschelde
Added basic support for custom resource savers and loaders
2018-12-15Added basic support for custom resource savers and loadersMarc Gilleron
2018-12-11Moved member variables to initializer listWilson E. Alvarez
2018-11-03Allow plugin scene change signal to report null for empty scenes.Jared
2018-09-27Fix warnings for comparison between signed and unsigned integers ↵Rémi Verschelde
[-Wsign-compare] Also turn off -Wsign-compare warnings in the future, we do not consider them important. Fixes the following GCC 5 warnings: ``` core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/sprite_editor_plugin.cpp:100:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ``` The following warnings were not fixed, as they implied casting for no gain: ``` core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ```
2018-09-18Fixes drawing of the 2D plugins on the 3D viewgroud
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-22Add option to move Tile/GridMap editors to another sideMichael Alexsander Silva Dias
2018-08-15Merge pull request #19837 from willnationsdev/plugin-utilitiesRémi Verschelde
Add PluginConfigDialog.
2018-08-09New gizmo structure and new gizmo disabling menuJFonS
2018-07-26Add PluginConfigDialog, EditorPluginSettings GUIWill Nations
2018-07-04Merge pull request #19849 from willnationsdev/expose-script-create-dialogMax Hilbrunner
Expose ScriptCreateDialog to EditorPlugin
2018-07-04Expose ScriptCreateDialog to EditorPluginwillnationsdev
2018-06-28Preventing an editor crash in the event that a plugin scene's root-node is null.Michael Lee
2018-05-26Merge pull request #15489 from willnationsdev/gdnative-hookMax Hilbrunner
Add EditorPlugin.build() build callbacks
2018-05-17Moved inspector functionality from EditorNode to InspectorDock.Daniel J. Ramirez
2018-05-17-Ability to open resources in the same windowJuan Linietsky
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
2018-05-07Merge pull request #15640 from willnationsdev/resource-saved-signalMax Hilbrunner
Added EditorPlugin 'resource_saved' signal
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-03-23Merge pull request #17576 from Mr-Slurpy/masterRémi Verschelde
Allow users to add items to Tool menu
2018-03-17Added tool menu functions in EditorPluginMr-Slurpy
2018-02-14Enable EditorPlugin to add/remove autoloadsWill Nations
2018-02-13Add a function to remove controls from containersGeorge Marques
Closes #5968
2018-01-31Added EditorPlugin 'resource_saved' signalWill Nations
2018-01-30Add interface for plugins to enable/disable other pluginsGeorge Marques
2018-01-08Add EditorPlugin.build() build callbacksWill Nations
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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-04forward_canvas_gui_input only takes one parameterTim Schellenberg
2018-01-04Merge pull request #14882 from willnationsdev/add-select-fileRémi Verschelde
Plugins can select files in the FileSystem Dock
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-20Plugins can select files in FileSystem DockWill Nations
2017-12-09Defer the scan filesystem call when adding import pluginsGeorge Marques
This ensures every plugin is added before the scan is made. Fix #12749
2017-12-07Exposed EditorSceneImporter to script. Added APIs to use intermediate ↵Juan Linietsky
converters more easily.
2017-12-06Add method to set main screen plugin iconWaldson Patrício
2017-11-24Universalize draw-over API for EditorPluginsPedro J. Estébanez
- 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-17Merge pull request #12982 from tagcup/aabb_renameRémi Verschelde
Rename Rect3 to AABB.
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-17Make resources edited by plugins be sent as referenceGeorge Marques
This ensures that a plugin can save a resource using the ResourceSaver.
2017-11-09Reworked how servers preallocate RIDs, should fix #10970Juan Linietsky
2017-10-22Bind unbound enums, rearrange some by valuePoommetee Ketson
2017-10-18Fixes snapping and replaces the _draw_canvas by forward_canvas_drawGilles Roudiere
2017-10-11Fix argument names in method bindings.Andreas Haas
Adds a couple of missing argument names.