mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-28 20:54:49 +01:00
Node now update on edit when playing.
This commit is contained in:
parent
23df6accbc
commit
648e0ebe3f
3 changed files with 4 additions and 3 deletions
Binary file not shown.
|
@ -43,7 +43,7 @@
|
|||
LATEST_VERSION = 1_18_00_0;
|
||||
VERSION = 1_18_07_2;
|
||||
SAVE_VERSION = 1_18_05_0;
|
||||
VERSION_STRING = MAC? "1.18.003m" : "1.18.7.2";
|
||||
VERSION_STRING = MAC? "1.18.003m" : "1.18.8.003";
|
||||
BUILD_NUMBER = 118072;
|
||||
PREF_VERSION = 1_17_1;
|
||||
|
||||
|
|
|
@ -1604,13 +1604,14 @@ function NodeValue(_name, _node, _connect, _type, _value, _tooltip = "") constru
|
|||
if(tags == VALUE_TAG.updateInTrigger || tags == VALUE_TAG.updateOutTrigger) return true;
|
||||
|
||||
if(_update) {
|
||||
if(!IS_PLAYING) node.triggerRender();
|
||||
// if(!IS_PLAYING) // If you have to uncomment this. PLEASE comment the reason why so I don't have to comment it out again.
|
||||
node.triggerRender();
|
||||
node.valueUpdate(self.index);
|
||||
node.clearCacheForward();
|
||||
}
|
||||
|
||||
if(fullUpdate) RENDER_ALL
|
||||
|
||||
|
||||
if(!LOADING) PROJECT.modified = true;
|
||||
|
||||
cache_value[0] = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue