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