Clone tool

This commit is contained in:
luboslenco
2019-03-10 17:03:34 +01:00
parent e464989202
commit 73d53bfe70
9 changed files with 134 additions and 40 deletions
+3 -1
View File
@@ -246,7 +246,9 @@ class RenderPathDeferred {
}
// Read texcoords from gbuffer
if (UITrait.inst.brushType == 2 && UITrait.inst.fillTypeHandle.position == 1) { // Face fill
var readTC = (UITrait.inst.brushType == 2 && UITrait.inst.fillTypeHandle.position == 1) || // Face fill
UITrait.inst.brushType == 8; // Clone
if (readTC) {
path.bindTarget("gbuffer2", "gbuffer2");
}