mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Compile out editor-only logic within validate_property in games
This commit is contained in:
@@ -3790,6 +3790,9 @@ String VisualShaderNodeInput::get_input_index_name(int p_index) const {
|
||||
}
|
||||
|
||||
void VisualShaderNodeInput::_validate_property(PropertyInfo &p_property) const {
|
||||
if (!Engine::get_singleton()->is_editor_hint()) {
|
||||
return;
|
||||
}
|
||||
if (p_property.name == "input_name") {
|
||||
String port_list;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user