forked from bartvdbraak/blender
disable animating the camera lens angle, this way we dont have the problem where both lens and angle are animated
(2 fcurves accessing the same data), this should be handled by the units system but for now disabling this means we don't have to deal with animated angle later on. note: durian files didnt use animated angle anywhere.
This commit is contained in:
parent
b4980165f1
commit
0699faf9b3
@ -104,6 +104,7 @@ void RNA_def_camera(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "angle", PROP_FLOAT, PROP_ANGLE);
|
||||
RNA_def_property_range(prop, M_PI * (0.367/180.0), M_PI * (172.847/180.0));
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_ui_text(prop, "Angle", "Perspective Camera lens field of view in degrees");
|
||||
RNA_def_property_float_funcs(prop, "rna_Camera_angle_get", "rna_Camera_angle_set", NULL); /* only for deg/rad conversion */
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user