Bake up axis

This commit is contained in:
luboslenco
2019-12-06 21:21:25 +01:00
parent acd5702914
commit 3f4134fc37
5 changed files with 11 additions and 4 deletions
+1 -3
View File
@@ -992,7 +992,7 @@ class UITrait {
bakes.push("BentNormal (DXR)");
#end
bakeType = ui.combo(bakeHandle, bakes, "Bake");
if (bakeType == 3 || bakeType == 4 || bakeType == 8) {
if (bakeType == 3 || bakeType == 4 || bakeType == 9) {
var bakeUpAxisHandle = Id.handle({position: bakeUpAxis});
bakeUpAxis = ui.combo(bakeUpAxisHandle, ["Z", "Y"], "Up Axis");
}
@@ -1031,8 +1031,6 @@ class UITrait {
}
if (ui.changed) {
MaterialParser.parsePaintMaterial();
// Context.pdirty = 4;
// pushUndo
}
}
else {