Go to file
Jason Wilkins 7154b424e9 Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled.
This was caused because a small part of sculpt's radial control code did not make it into the new version.  The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed.  

The solution I implement here is to do the same scaling inside the RNA callbacks.  This way, users of those properties do not have to worry about inconsistency.

I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size.  

I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems.  In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases.

In any case, this at least fixes the immediate problem.
2011-05-28 11:30:21 +00:00
build_files include ffmpeg_compat header in cmake source list. 2011-05-28 04:53:17 +00:00
doc move load_image into image_utils and add some docstrings to bpy_extras module. 2011-05-28 09:34:45 +00:00
extern fix transform code using a node space as an image space, accessing unallocated memory. 2011-05-02 05:24:59 +00:00
intern == FFMPEG == 2011-05-28 00:07:33 +00:00
release move load_image into image_utils and add some docstrings to bpy_extras module. 2011-05-28 09:34:45 +00:00
source Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled. 2011-05-28 11:30:21 +00:00
CMakeLists.txt fix for option WITH_CXX_GUARDEDALLOC with msvc 2011-05-24 06:44:39 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile - background job style cleanup. 2011-04-10 15:24:05 +00:00
SConstruct Code cleanup: remove source/kernel module, this wasn't really the kernel of 2011-05-06 20:18:42 +00:00