mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-Display on animation editor which keys are invalid and which tracks are unresolved
-Added a tool to clean up unresolved tracks and unused keys
This commit is contained in:
parent
35fa048af5
commit
200b7bb87c
19 changed files with 381 additions and 20 deletions
|
@ -267,6 +267,20 @@ void PlaceHolderScriptInstance::get_property_list(List<PropertyInfo> *p_properti
|
|||
}
|
||||
}
|
||||
|
||||
Variant::Type PlaceHolderScriptInstance::get_property_type(const StringName& p_name,bool *r_is_valid) const {
|
||||
|
||||
if (values.has(p_name)) {
|
||||
if (r_is_valid)
|
||||
*r_is_valid=true;
|
||||
return values[p_name].get_type();
|
||||
}
|
||||
if (r_is_valid)
|
||||
*r_is_valid=false;
|
||||
|
||||
return Variant::NIL;
|
||||
}
|
||||
|
||||
|
||||
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties,const Map<StringName,Variant>& p_values) {
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue