Depsgraph: Cleanup, indentation

This commit is contained in:
Sergey Sharybin 2017-12-04 15:50:06 +01:00
parent bdc15061fc
commit 40822ae4e9
1 changed files with 9 additions and 9 deletions

View File

@ -196,15 +196,15 @@ RNAPathKey::RNAPathKey(ID *id, const PointerRNA &ptr, PropertyRNA *prop)
RNAPathKey::RNAPathKey(ID *id, const char *path)
: id(id)
{
/* create ID pointer for root of path lookup */
PointerRNA id_ptr;
RNA_id_pointer_create(id, &id_ptr);
/* try to resolve path... */
int index;
if (!RNA_path_resolve_full(&id_ptr, path, &this->ptr, &this->prop, &index)) {
this->ptr = PointerRNA_NULL;
this->prop = NULL;
}
/* create ID pointer for root of path lookup */
PointerRNA id_ptr;
RNA_id_pointer_create(id, &id_ptr);
/* try to resolve path... */
int index;
if (!RNA_path_resolve_full(&id_ptr, path, &this->ptr, &this->prop, &index)) {
this->ptr = PointerRNA_NULL;
this->prop = NULL;
}
}
string RNAPathKey::identifier() const