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:
Diffstat (limited to 'source/blender/src/editarmature.c')
-rw-r--r--source/blender/src/editarmature.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c
index 37f5c4a56d7..6b0d0b72d55 100644
--- a/source/blender/src/editarmature.c
+++ b/source/blender/src/editarmature.c
@@ -2707,3 +2707,15 @@ void create_vgroups_from_armature(Object *ob, Object *par)
}
}
+
+int is_delay_deform(void)
+{
+ bArmature *arm;
+
+ arm=get_armature (G.obpose);
+
+ if (!arm)
+ return 0;
+
+ return (arm->flag & ARM_DELAYDEFORM);
+}