- Moderator
- #1
If a skinner uses a string function in the skin the condition will get re-evaluated every render pass causing high cpu usage. I created a patch that will cache the result of the condition untill one of the input properties changes. This will severely cut down the cpu% for skins using a lot of string functions.
edit: ok i corrected a bug where it didn't account for the prefix "!" (inverting the result of the condition). New patch is attached called v2 i'm leaving the old patch as a reference.
edit: ok i corrected a bug where it didn't account for the prefix "!" (inverting the result of the condition). New patch is attached called v2 i'm leaving the old patch as a reference.