Transform fixes
Connected PET for mesh had an infinite loop in some case. Fixed an made a bit faster. Renamed the numinput flag. Corrected a conflict in TransInfo flags. This was a crash waiting to happen. NO_CONSTRAINT flag now correctly used to disable MMB and constraint hotkeys when needed. Added check for the manipulator flag when drawing them before applying transformation matrix. Was really weird when doing MMB with rotation.
This commit is contained in:
@@ -1177,7 +1177,9 @@ static void draw_manipulator_rotate_cyl(float mat[][4], int moving, int drawflag
|
||||
if(moving) {
|
||||
float matt[4][4];
|
||||
Mat4CpyMat4(matt, mat); // to copy the parts outside of [3][3]
|
||||
Mat4MulMat34(matt, Trans.mat, mat);
|
||||
if (Trans.flag & T_USES_MANIPULATOR) {
|
||||
Mat4MulMat34(matt, Trans.mat, mat);
|
||||
}
|
||||
mymultmatrix(matt);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user