-Improve resource previews
-Also fixed draw_texture_rect() tile parameter
This commit is contained in:
@@ -64,6 +64,8 @@
|
||||
#include "addon_editor_plugin.h"
|
||||
#include "plugins/spatial_editor_plugin.h"
|
||||
#include "plugins/sample_editor_plugin.h"
|
||||
#include "plugins/texture_editor_plugin.h"
|
||||
#include "plugins/material_editor_plugin.h"
|
||||
#include "plugins/sample_library_editor_plugin.h"
|
||||
#include "plugins/sample_player_editor_plugin.h"
|
||||
#include "plugins/camera_editor_plugin.h"
|
||||
@@ -72,6 +74,7 @@
|
||||
#include "plugins/item_list_editor_plugin.h"
|
||||
#include "plugins/stream_editor_plugin.h"
|
||||
#include "plugins/multimesh_editor_plugin.h"
|
||||
#include "plugins/mesh_instance_editor_plugin.h"
|
||||
#include "plugins/mesh_editor_plugin.h"
|
||||
#include "plugins/theme_editor_plugin.h"
|
||||
|
||||
@@ -5818,6 +5821,7 @@ EditorNode::EditorNode() {
|
||||
HBoxContainer *prop_editor_hb = memnew( HBoxContainer );
|
||||
|
||||
prop_editor_base->add_child(prop_editor_hb);
|
||||
prop_editor_vb=prop_editor_base;
|
||||
|
||||
resource_new_button = memnew( ToolButton );
|
||||
resource_new_button->set_tooltip(TTR("Create a new resource in memory and edit it."));
|
||||
@@ -6223,9 +6227,9 @@ EditorNode::EditorNode() {
|
||||
add_editor_plugin( memnew( MultiMeshEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( MeshInstanceEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( AnimationTreeEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( SamplePlayerEditorPlugin(this) ) );
|
||||
//add_editor_plugin( memnew( SamplePlayerEditorPlugin(this) ) ); - this is kind of useless at this point
|
||||
add_editor_plugin( memnew( MeshLibraryEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( StreamEditorPlugin(this) ) );
|
||||
//add_editor_plugin( memnew( StreamEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( StyleBoxEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( ParticlesEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( ResourcePreloaderEditorPlugin(this) ) );
|
||||
@@ -6244,9 +6248,11 @@ EditorNode::EditorNode() {
|
||||
add_editor_plugin( memnew( Polygon2DEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( LightOccluder2DEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( NavigationPolygonEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( ColorRampEditorPlugin(this,true) ) );
|
||||
add_editor_plugin( memnew( ColorRampEditorPlugin(this,false) ) );
|
||||
add_editor_plugin( memnew( ColorRampEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( CollisionShape2DEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( TextureEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( MaterialEditorPlugin(this) ) );
|
||||
add_editor_plugin( memnew( MeshEditorPlugin(this) ) );
|
||||
|
||||
for(int i=0;i<EditorPlugins::get_plugin_count();i++)
|
||||
add_editor_plugin( EditorPlugins::create(i,this) );
|
||||
|
||||
Reference in New Issue
Block a user