Fix mixed weight-paint & pose mode
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 9720cc1e6132f479e1be6ad0a755fe0581044906..d00b17d9a5e534301266284611cd2c94d9e3a606 100644 (file)
@@ -8231,13 +8231,11 @@ void createTransData(bContext *C, TransInfo *t)
                 * lines below just check is also visible */
                Object *ob_armature = modifiers_isDeformedByArmature(ob);
                if (ob_armature) {
-                       const bArmature *arm = ob_armature->data;
-                       if (arm->flag & ARM_POSEMODE) {
-                               Base *base_arm = BKE_view_layer_base_find(t->view_layer, ob_armature);
-                               if (base_arm) {
-                                       if (BASE_VISIBLE(base_arm)) {
-                                               createTransPose(t, ob_armature);
-                                       }
+//                     const bArmature *arm = ob_armature->data;
+                       Base *base_arm = BKE_view_layer_base_find(t->view_layer, ob_armature);
+                       if (base_arm) {
+                               if (BASE_VISIBLE(base_arm)) {
+                                       createTransPose(t, ob_armature);
                                }
                        }
                }