From 42fa7cf98902c91cb712db1a38c375aa86397328 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Fri, 29 May 2009 05:42:06 +0000 Subject: [PATCH] plumbing for future sculpt map caching --- OpenSim/Framework/PrimitiveBaseShape.cs | 12 ++++++++++++ prebuild.xml | 1 + 2 files changed, 13 insertions(+) diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 300e37cb78..f22b6ef689 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs @@ -26,6 +26,8 @@ */ using System; +using System.Drawing; +using System.Drawing.Imaging; using System.Reflection; using System.Xml.Serialization; using log4net; @@ -105,6 +107,7 @@ namespace OpenSim.Framework [XmlIgnore] private UUID _sculptTexture = UUID.Zero; [XmlIgnore] private byte _sculptType = (byte)0; [XmlIgnore] private byte[] _sculptData = new byte[0]; + [XmlIgnore] private Image _sculptBitmap = null; // Flexi [XmlIgnore] private int _flexiSoftness = 0; @@ -562,6 +565,15 @@ namespace OpenSim.Framework } } + public Image SculptBitmap { + get { + return _sculptBitmap; + } + set { + _sculptBitmap = value; + } + } + public int FlexiSoftness { get { return _flexiSoftness; diff --git a/prebuild.xml b/prebuild.xml index e85bf840ab..51fb6e89b1 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -129,6 +129,7 @@ +