mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 19:12:24 -05:00
-shadergraph now saved when on external file and modified, fixes #1832
This commit is contained in:
parent
bc0ef64bed
commit
bcb184766f
1 changed files with 7 additions and 1 deletions
|
@ -234,11 +234,17 @@ void UndoRedo::_process_operation_list(List<Operation>::Element *E) {
|
|||
ERR_FAIL_COND(!obj);
|
||||
|
||||
}
|
||||
|
||||
switch(op.type) {
|
||||
|
||||
case Operation::TYPE_METHOD: {
|
||||
|
||||
obj->call(op.name,VARIANT_ARGS_FROM_ARRAY(op.args));
|
||||
obj->call(op.name,VARIANT_ARGS_FROM_ARRAY(op.args));
|
||||
#ifdef TOOLS_ENABLED
|
||||
Resource* res = obj->cast_to<Resource>();
|
||||
if (res)
|
||||
res->set_edited(true);
|
||||
#endif
|
||||
} break;
|
||||
case Operation::TYPE_PROPERTY: {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue