Fix T46161: Rotate around selection changes bezier curve handle type.
Issue is, when 'Rotate Aroud Selection' is set, in Edit mode we do a fake transform operation to get center point around which to rotate. For curves, most transform operations involve a check of handle types. For now, added 'TFM_DUMMY' as an exception here. Think it would be best to actually undo those changes in case of cancelled operation, but this is much more involved, while this fix is safe enough to be included in final 2.76.
This commit is contained in:
parent
6844b02a71
commit
cfc109eb92
Notes:
blender-bot
2023-02-14 08:39:15 +01:00
Referenced by issue #46448, OBJ Crash when dupligroup is not set Referenced by issue #46423, Sequencer - Modifier - Copy to selected Strips effects strips inside the MetaStrip Referenced by issue #46410, Sequencer Masking Bug - Doesn't honor mask animation properly Referenced by issue #46389, Shrinkwrap fails when target mesh is in edit mode Referenced by issue #46219, Edit Mode : Knife Tool : wont cut some objects Referenced by issue #46222, Eyedrop tool is inconsistant Referenced by issue #46185, Bone will not roll in Blender 2.76 RC Referenced by issue #46186, Brush Panel Doesn't Update Until Drawing Stroke When Selecting Brush With Numkey Referenced by issue #46161, Rotate around selection changes bezier curve handle type
|
@ -1661,7 +1661,7 @@ static void createTransCurveVerts(TransInfo *t)
|
|||
|
||||
/* TODO - in the case of tilt and radius we can also avoid allocating the initTransDataCurveHandles
|
||||
* but for now just don't change handle types */
|
||||
if (ELEM(t->mode, TFM_CURVE_SHRINKFATTEN, TFM_TILT) == 0) {
|
||||
if (ELEM(t->mode, TFM_CURVE_SHRINKFATTEN, TFM_TILT, TFM_DUMMY) == 0) {
|
||||
/* sets the handles based on their selection, do this after the data is copied to the TransData */
|
||||
BKE_nurb_handles_test(nu, !hide_handles);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue