Template retarget now works with normal conversion (not in Quick mode that is).
This commit is contained in:
@@ -3082,8 +3082,6 @@ void BIF_retargetArc(ReebArc *earc)
|
||||
|
||||
RIG_freeRigGraph((BGraph*)template_rigg);
|
||||
RIG_freeRigGraph((BGraph*)rigg);
|
||||
|
||||
BIF_undo_push("Retarget Arc");
|
||||
|
||||
allqueue(REDRAWVIEW3D, 0);
|
||||
}
|
||||
|
||||
@@ -1802,7 +1802,15 @@ void sk_convert(SK_Sketch *sketch)
|
||||
{
|
||||
if (stk->selected == 1)
|
||||
{
|
||||
sk_convertStroke(stk);
|
||||
if (G.scene->toolsettings->bone_sketching_convert == SK_CONVERT_RETARGET)
|
||||
{
|
||||
sk_retargetStroke(stk);
|
||||
}
|
||||
else
|
||||
{
|
||||
sk_convertStroke(stk);
|
||||
}
|
||||
allqueue(REDRAWBUTSEDIT, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2519,8 +2527,8 @@ int sk_paint(SK_Sketch *sketch, short mbut)
|
||||
else
|
||||
{
|
||||
sk_convertStroke(stk);
|
||||
BIF_undo_push("Convert Sketch");
|
||||
}
|
||||
BIF_undo_push("Convert Sketch");
|
||||
sk_removeStroke(sketch, stk);
|
||||
allqueue(REDRAWBUTSEDIT, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user