mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
[possible still bad] make use of keyframemotion.copy on sop.copy, replacing
fromdata(seralize). for now its called with null group since sop.copy() hasn't usable new group information, so for copied keyframes be fully operational UpdateSceneObject(newgroup) needs to be called on them.
This commit is contained in:
@@ -2110,6 +2110,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Array.Copy(Shape.ExtraParams, extraP, extraP.Length);
|
||||
dupe.Shape.ExtraParams = extraP;
|
||||
|
||||
if (KeyframeMotion != null)
|
||||
dupe.KeyframeMotion = KeyframeMotion.Copy(null);
|
||||
|
||||
if (userExposed)
|
||||
{
|
||||
if (dupe.m_shape.SculptEntry && dupe.m_shape.SculptTexture != UUID.Zero)
|
||||
|
||||
Reference in New Issue
Block a user