[Bf-blender-cvs] [40822ae4e93] master: Depsgraph: Cleanup, indentation
Sergey Sharybin
noreply at git.blender.org
Mon Dec 4 15:50:43 CET 2017
Commit: 40822ae4e93858d8419548cc804d1c1143ec8df4
Author: Sergey Sharybin
Date: Mon Dec 4 15:50:06 2017 +0100
Branches: master
https://developer.blender.org/rB40822ae4e93858d8419548cc804d1c1143ec8df4
Depsgraph: Cleanup, indentation
===================================================================
M source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc
===================================================================
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
More information about the Bf-blender-cvs
mailing list