svn merge ^/trunk/blender -r43420:43436
[blender.git] / source / blender / editors / object / object_add.c
index 536b2f70c31f20eda93a9fde0837c10d517302d0..70a1aa73fc96232b1ba7e0c7ac5a36f2d01fdd31 100644 (file)
@@ -486,7 +486,7 @@ static int object_camera_add_exec(bContext *C, wmOperator *op)
        float loc[3], rot[3];
        
        /* force view align for cameras */
        float loc[3], rot[3];
        
        /* force view align for cameras */
-       RNA_boolean_set(op->ptr, "view_align", 1);
+       RNA_boolean_set(op->ptr, "view_align", TRUE);
        
        object_add_generic_invoke_options(C, op);
 
        
        object_add_generic_invoke_options(C, op);