You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add get_edited_property_value() shorthand method
This commit is contained in:
@@ -6620,7 +6620,7 @@ void EditorPropertyVisualShaderMode::_option_selected(int p_which) {
|
||||
}
|
||||
|
||||
void EditorPropertyVisualShaderMode::update_property() {
|
||||
int which = get_edited_object()->get(get_edited_property());
|
||||
int which = get_edited_property_value();
|
||||
options->select(which);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user