mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Compile out editor-only logic within validate_property in games
This commit is contained in:
parent
d9cd011e2f
commit
8ba4656ea3
69 changed files with 274 additions and 119 deletions
|
|
@ -148,6 +148,9 @@ void Popup::_post_popup() {
|
|||
}
|
||||
|
||||
void Popup::_validate_property(PropertyInfo &p_property) const {
|
||||
if (!Engine::get_singleton()->is_editor_hint()) {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
p_property.name == "transient" ||
|
||||
p_property.name == "exclusive" ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue