* fix unwanted brush face texture transformations on brush resizing with texture lock on

This commit is contained in:
Garux 2017-12-11 16:53:01 +03:00
parent 723a615110
commit 9f1690ed64

View File

@ -3661,7 +3661,12 @@ void evaluateTransform(){
}
else
{
const bool tmp = g_brush_texturelock_enabled;
/* do not want texture projection transformation while resizing brush */
if( GlobalSelectionSystem().ManipulatorMode() == SelectionSystem::eDrag && GlobalSelectionSystem().Mode() == SelectionSystem::ePrimitive )
g_brush_texturelock_enabled = false;
transformComponents( matrix );
g_brush_texturelock_enabled = tmp;
}
}
void applyTransform(){