Decal scale on x axis

This commit is contained in:
luboslenco
2019-10-17 16:01:32 +02:00
parent 2947ca685b
commit f1a0893ab4
3 changed files with 19 additions and 3 deletions
+3
View File
@@ -35,6 +35,9 @@ class Uniforms {
else val *= 900 / App.h(); // Projection ratio
return val;
}
else if (link == '_brushScaleX') {
return 1 / UITrait.inst.brushScaleX;
}
else if (link == '_brushOpacity') {
var val = UITrait.inst.brushOpacity * UITrait.inst.brushNodesOpacity;
var pen = Input.getPen();