Rework scene preview thumbnails
This commit is contained in:
@ -79,9 +79,7 @@ class EditorInterface : public Object {
|
||||
void _call_dialog_callback(const Callable &p_callback, const Variant &p_selected, const String &p_context);
|
||||
|
||||
// Editor tools.
|
||||
|
||||
TypedArray<Texture2D> _make_mesh_previews(const TypedArray<Mesh> &p_meshes, int p_preview_size);
|
||||
AABB _calculate_aabb_for_scene(Node *p_node, AABB &p_scene_aabb);
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
@ -110,7 +108,6 @@ public:
|
||||
EditorUndoRedoManager *get_editor_undo_redo() const;
|
||||
|
||||
Vector<Ref<Texture2D>> make_mesh_previews(const Vector<Ref<Mesh>> &p_meshes, Vector<Transform3D> *p_transforms, int p_preview_size);
|
||||
void make_scene_preview(const String &p_path, Node *p_scene, int p_preview_size);
|
||||
|
||||
void set_plugin_enabled(const String &p_plugin, bool p_enabled);
|
||||
bool is_plugin_enabled(const String &p_plugin) const;
|
||||
|
||||
Reference in New Issue
Block a user