mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make _validate_property a multilevel method
This commit is contained in:
parent
fdc36ad082
commit
1a24c9e14b
135 changed files with 770 additions and 800 deletions
|
|
@ -286,9 +286,9 @@ void CanvasLayer::_update_follow_viewport(bool p_force_exit) {
|
|||
}
|
||||
}
|
||||
|
||||
void CanvasLayer::_validate_property(PropertyInfo &property) const {
|
||||
if (!follow_viewport && property.name == "follow_viewport_scale") {
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
void CanvasLayer::_validate_property(PropertyInfo &p_property) const {
|
||||
if (!follow_viewport && p_property.name == "follow_viewport_scale") {
|
||||
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue