mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Store NULL in the 'DynAttrs' column if the prim doesn't have any dynamic attributes
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
fdec05a15e
commit
86802bcf93
@@ -2145,7 +2145,11 @@ namespace OpenSim.Data.SQLite
|
||||
row["VolumeDetect"] = 0;
|
||||
|
||||
row["MediaURL"] = prim.MediaUrl;
|
||||
row["DynAttrs"] = prim.DynAttrs.ToXml();
|
||||
|
||||
if (prim.DynAttrs.Count > 0)
|
||||
row["DynAttrs"] = prim.DynAttrs.ToXml();
|
||||
else
|
||||
row["DynAttrs"] = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user