Bugfix [#26792] blender crash when scaling action strip in NLA
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 99214fe4780858e9dcb3d02f0b8dbda4ea356237..04783cce634d8653e665609c9b56f4cbda0de3b4 100644 (file)
@@ -2613,6 +2613,7 @@ static void createTransNlaData(bContext *C, TransInfo *t)
                                                                unit_m3(td->smtx);
                                                        }
                                                        else {
+                                                               /* time scaling only needs single value */
                                                                td->val= &tdn->h1[0];
                                                                td->ival= tdn->h1[0];
                                                        }
@@ -2644,6 +2645,7 @@ static void createTransNlaData(bContext *C, TransInfo *t)
                                                                unit_m3(td->smtx);
                                                        }
                                                        else {
+                                                               /* time scaling only needs single value */
                                                                td->val= &tdn->h2[0];
                                                                td->ival= tdn->h2[0];
                                                        }
@@ -2664,7 +2666,7 @@ static void createTransNlaData(bContext *C, TransInfo *t)
                        }
                }
        }
-
+       
        /* cleanup temp list */
        BLI_freelistN(&anim_data);
 }