Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 415 forks source link

Scene was not marked as dirty when "Save to Scene" pressed in NodeCanvas #113

Closed kalinarm closed 7 years ago

kalinarm commented 7 years ago

and cannot be saved without another modification in scene. I think it can be done by using https://docs.unity3d.com/ScriptReference/Undo.RecordObject.html as this function is recquired only into editor

Keep up this really great job !

Seneral commented 7 years ago

Thanks for the report, will add this tomorrow:) Actually, there's EditorSceneManager.MarkSceneDirty and for older versions EditorApplication.MarkSceneDirty ;)

Seneral commented 7 years ago

That should do it:)