mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-13 14:21:11 +01:00
Now EditorPropertyEnums can be setup multiple times.
This commit is contained in:
parent
90ae8d4791
commit
062ccd439f
@ -711,6 +711,7 @@ void EditorPropertyEnum::update_property() {
|
||||
}
|
||||
|
||||
void EditorPropertyEnum::setup(const Vector<String> &p_options) {
|
||||
options->clear();
|
||||
int64_t current_val = 0;
|
||||
for (int i = 0; i < p_options.size(); i++) {
|
||||
Vector<String> text_split = p_options[i].split(":");
|
||||
|
Loading…
Reference in New Issue
Block a user