Browse Source

2.0.1.18, null check, drawie update

Krzysztof Krysiński 1 month ago
parent
commit
aa0eacc4a8

+ 1 - 1
src/Drawie

@@ -1 +1 @@
-Subproject commit b3b3a342c4b9d188de984ecefd4a9f8d020d6d4c
+Subproject commit f3317c6a85fc3f463490ff9377c6a15f4ad766c6

+ 3 - 0
src/PixiEditor/Models/DocumentModels/DocumentUpdater.cs

@@ -824,6 +824,9 @@ internal class DocumentUpdater
     private void ProcessNodePosition(NodePosition_ChangeInfo info)
     {
         NodeViewModel node = doc.StructureHelper.FindNode<NodeViewModel>(info.NodeId);
+        if (node == null)
+            return;
+
         node.SetPosition(info.NewPosition);
     }
 

+ 2 - 2
src/PixiEditor/Properties/AssemblyInfo.cs

@@ -43,5 +43,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.1.17")]
-[assembly: AssemblyFileVersion("2.0.1.17")]
+[assembly: AssemblyVersion("2.0.1.18")]
+[assembly: AssemblyFileVersion("2.0.1.18")]