You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Make _validate_property a multilevel method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user