diff options
author | UbitUmarov | 2014-08-07 22:47:29 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-07 22:47:29 +0100 |
commit | 7486684436583a4d9a1b800833581b26e83b9c0b (patch) | |
tree | c1e4a9caa21c1944c2513d1531ed0144a086f402 /OpenSim/Framework/AvatarAppearance.cs | |
parent | bug (diff) | |
download | opensim-SC_OLD-7486684436583a4d9a1b800833581b26e83b9c0b.zip opensim-SC_OLD-7486684436583a4d9a1b800833581b26e83b9c0b.tar.gz opensim-SC_OLD-7486684436583a4d9a1b800833581b26e83b9c0b.tar.bz2 opensim-SC_OLD-7486684436583a4d9a1b800833581b26e83b9c0b.tar.xz |
update the max number of texture faces and wearables to current values.
This should be safe now..
Diffstat (limited to 'OpenSim/Framework/AvatarAppearance.cs')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index a34c85f..40179a2 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -53,7 +53,11 @@ namespace OpenSim.Framework | |||
53 | // should be only used as initial default value ( V1 viewers ) | 53 | // should be only used as initial default value ( V1 viewers ) |
54 | public readonly static int VISUALPARAM_COUNT = 218; | 54 | public readonly static int VISUALPARAM_COUNT = 218; |
55 | 55 | ||
56 | public readonly static int TEXTURE_COUNT = 21; | 56 | // public readonly static int TEXTURE_COUNT = 21 |
57 | // 21 bad, make it be updated as libovm gets update | ||
58 | // also keeping in sync with it | ||
59 | public readonly static int TEXTURE_COUNT = Primitive.TextureEntry.MAX_FACES; | ||
60 | |||
57 | public readonly static byte[] BAKE_INDICES = new byte[] { 8, 9, 10, 11, 19, 20 }; | 61 | public readonly static byte[] BAKE_INDICES = new byte[] { 8, 9, 10, 11, 19, 20 }; |
58 | 62 | ||
59 | protected int m_serial = 0; | 63 | protected int m_serial = 0; |