1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Add an inspector preview for BitMap

This commit is contained in:
FireForge
2022-03-30 20:25:14 -05:00
committed by Haoyu Qiu
parent b0cb3d1aa9
commit e8d1552af2
3 changed files with 152 additions and 0 deletions

View File

@@ -117,6 +117,7 @@
#include "editor/plugins/asset_library_editor_plugin.h"
#include "editor/plugins/audio_stream_editor_plugin.h"
#include "editor/plugins/baked_lightmap_editor_plugin.h"
#include "editor/plugins/bit_map_editor_plugin.h"
#include "editor/plugins/camera_editor_plugin.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/plugins/collision_polygon_2d_editor_plugin.h"
@@ -7016,6 +7017,7 @@ EditorNode::EditorNode() {
add_editor_plugin(memnew(ViewportPreviewEditorPlugin(this)));
add_editor_plugin(memnew(GradientTexture2DEditorPlugin(this)));
add_editor_plugin(memnew(RayCast2DEditorPlugin(this)));
add_editor_plugin(memnew(BitMapEditorPlugin(this)));
for (int i = 0; i < EditorPlugins::get_plugin_count(); i++) {
add_editor_plugin(EditorPlugins::create(i, this));