untrack post filter colorbuffer cache
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group 'org.openrndr.extra'
|
group 'org.openrndr.extra'
|
||||||
version '0.0.27'
|
version '0.0.28'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -67,8 +67,12 @@ class Layer internal constructor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (postBufferCache.isEmpty()) {
|
if (postBufferCache.isEmpty()) {
|
||||||
postBufferCache += colorBuffer(rt.width, rt.height)
|
postBufferCache += colorBuffer(rt.width, rt.height).apply {
|
||||||
postBufferCache += colorBuffer(rt.width, rt.height)
|
Session.active.untrack(this)
|
||||||
|
}
|
||||||
|
postBufferCache += colorBuffer(rt.width, rt.height).apply {
|
||||||
|
Session.active.untrack(this)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user