Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-04 17:50:06 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-04 17:50:38 +0300
commit40822ae4e93858d8419548cc804d1c1143ec8df4 (patch)
tree4ce879acd774941dd3889f785f6933834998710f /source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc
parentbdc15061fc5cf0c0c9bd075894b3a475e482248e (diff)
Depsgraph: Cleanup, indentation
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc18
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