forked from bartvdbraak/blender
=== Custom Transform Orientation ===
Added orientation overwriting old ones didn't change correctly (weren't returning the correct index).
This commit is contained in:
parent
e7bcdfa7af
commit
65d61c2cb6
@ -365,7 +365,7 @@ int addMatrixSpace(float mat[3][3], char name[]) {
|
|||||||
|
|
||||||
BIF_undo_push("Add/Update Transform Orientation");
|
BIF_undo_push("Add/Update Transform Orientation");
|
||||||
|
|
||||||
return BIF_countTransformOrientation() - 1;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BIF_removeTransformOrientation(TransformOrientation *target) {
|
void BIF_removeTransformOrientation(TransformOrientation *target) {
|
||||||
|
Loading…
Reference in New Issue
Block a user