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:
authorJoshua Leung <aligorith@gmail.com>2011-08-28 15:39:18 +0400
committerJoshua Leung <aligorith@gmail.com>2011-08-28 15:39:18 +0400
commit8e12b7b054c3c4e95a23f26db232d99ff18e2b90 (patch)
treeff37993677c52a010cb29113a37e146065583914 /source/blender/blenkernel/intern/anim_sys.c
parent94b3e83b6c564a66788624e824a2548d6c8b8650 (diff)
Assorted comment clarification in response to code review notes
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index 3c6daf8b39d..b690c9b4a91 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -1168,7 +1168,7 @@ static short animsys_write_rna_setting (PointerRNA *ptr, char *path, int array_i
* for we know that which the updates in RNA were really just for
* flushing property editing via UI/Py
*/
- if (RNA_struct_is_a(new_ptr.type, &RNA_PoseBone)) {
+ if (new_ptr.type == &RNA_PoseBone) {
/* bone transforms - update pose (i.e. tag depsgraph) */
skip_updates_hack = 1;
}