Use use_render argument rather than G.is_rendering to detect
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 17 Jun 2013 13:34:17 +0000 (13:34 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 17 Jun 2013 13:34:17 +0000 (13:34 +0000)
commitc5bbeb25712f42628dbf8ba8b35e9740d417b13b
tree6cb82c3a481a7175238e26705c787eea35b0f2f5
parenta3ca67ef80806ab99fcff8b1813c0d46133d7fcf
Use use_render argument rather than G.is_rendering to detect
whether preview or render settings need to be used in curves
and mballs tessellation.

This is not noticeable for artists yet, but this is silly
to use G.is_rendering anyway and using argument will help
making rendering and viewport working simultaneously in
the future.
source/blender/blenkernel/BKE_curve.h
source/blender/blenkernel/BKE_mball.h
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/mball.c