mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Refactor auto-instantiation of Object properties in editor
Auto-instantiation is used by the create dialog, but should also be used by the editor inspector. This refactors object properties auto-instantiation into a dedicated method to be reused throughout editor (and possibly scripting).
This commit is contained in:
parent
28174d531b
commit
7a8b11ee14
6 changed files with 28 additions and 12 deletions
|
|
@ -182,6 +182,8 @@ public:
|
|||
void remove_custom_type(const String &p_type);
|
||||
const Map<String, Vector<CustomType>> &get_custom_types() const { return custom_types; }
|
||||
|
||||
void instantiate_object_properties(Object *p_object);
|
||||
|
||||
int add_edited_scene(int p_at_pos);
|
||||
void move_edited_scene_index(int p_idx, int p_to_idx);
|
||||
void remove_scene(int p_idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue