diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-11-13 22:03:27 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-11-13 22:03:27 +0400 |
commit | fea58943ecf32daa5bd828656d5e1157e6de984a (patch) | |
tree | 34a57950730971670ff3b9fae32826609a41363e /source/blender/editors/space_view3d/view3d_intern.h | |
parent | c491b8bf459bcb3bdc1e73fbe3c1f95ff096c335 (diff) |
Moving all node angle-type values to radians. This also fixes [#29151] rotate node wrong input (mixing up radians and degrees).
Warning!
Angles in nodes have just been moved to consistant Radians values (ANGLE subtype of RNA Float property). You will still see them as degrees in the GUI, though, unless you chose otherwise in Scene properties, Units panel.
Conversion from degrees to radians for old files is obviously done at loading time, but if you use a mixed pipeline of trunk and releases, be carefull!
Loading a 2.60.4 file (or higher) into any previous version of Blender, your angles in nodes will have odd values (well, radians interpreted as degrees)!
And if you save such file in a pre-2.60.4 version, the angle node values will be converted again when loaded in Blender 2.60.4 or higher...
This affects following nodes:
* Compo: Rotate, Defocus, ChromaMatte, Glare and DirectionalBlur
* Shader: Mapping
And all future code using the TexMapping struct’s rotation part (its rot memember is now in radians).
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
0 files changed, 0 insertions, 0 deletions