- new objects added from the rna api defaulted to quat rotation, not even using an...
[blender.git] / source / blender / blenkernel / intern / object.c
index 73a1d2023a2019839169152e58375459dcd8502c..69c57fb38fe68c5eed8d0f43f97b087b81facbec 100644 (file)
@@ -963,6 +963,7 @@ Object *add_only_object(int type, char *name)
        /* default object vars */
        ob->type= type;
        /* ob->transflag= OB_QUAT; */
+       ob->rotmode= ROT_MODE_EUL;
 
 #if 0 /* not used yet */
        unit_qt(ob->quat);