diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-04 17:50:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-04 17:50:38 +0300 |
commit | 40822ae4e93858d8419548cc804d1c1143ec8df4 (patch) | |
tree | 4ce879acd774941dd3889f785f6933834998710f /source/blender/depsgraph/intern/builder | |
parent | bdc15061fc5cf0c0c9bd075894b3a475e482248e (diff) |
Depsgraph: Cleanup, indentation
Diffstat (limited to 'source/blender/depsgraph/intern/builder')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc index f6845aa697c..4b8e4faae3f 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc @@ -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 |