Node now update on edit when playing.

This commit is contained in:
Tanasart 2025-01-25 15:32:56 +07:00
parent 23df6accbc
commit 648e0ebe3f
3 changed files with 4 additions and 3 deletions

Binary file not shown.

View file

@ -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;

View file

@ -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;