All pastes #512203 Raw Edit

makomk

public text v1 · immutable
#512203 ·published 2007-05-26 19:44 UTC
rendered paste body
Index: libsecondlife/ObjectManager.cs
===================================================================
--- libsecondlife/ObjectManager.cs	(revision 1202)
+++ libsecondlife/ObjectManager.cs	(working copy)
@@ -1781,6 +1781,10 @@
                             CompressedFlags flags = (CompressedFlags)Helpers.BytesToUIntBig(block.Data, i);
                             i += 4;
 
+                            prim.OwnerID = new LLUUID(block.Data, i);
+                            i += 16;
+			    
+
                             // Angular velocity
                             if ((flags & CompressedFlags.HasAngularVelocity) != 0)
                             {
@@ -1866,8 +1870,6 @@
                             {
                                 prim.Sound = new LLUUID(block.Data, i);
                                 i += 16;
-                                prim.OwnerID = new LLUUID(block.Data, i);
-                                i += 16;
 
                                 if (!BitConverter.IsLittleEndian)
                                 {