Remove rect_ prefix from control properties when keyframing
This commit is contained in:
parent
f5a89bf460
commit
60677c4e95
3 changed files with 5 additions and 5 deletions
|
|
@ -450,7 +450,7 @@ void GraphNode::_validate_property(PropertyInfo &property) const {
|
|||
Control::_validate_property(property);
|
||||
GraphEdit *graph = Object::cast_to<GraphEdit>(get_parent());
|
||||
if (graph) {
|
||||
if (property.name == "rect_position") {
|
||||
if (property.name == "position") {
|
||||
property.usage |= PROPERTY_USAGE_READ_ONLY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue