diff options
author | Jeff Ames | 2008-03-17 17:23:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-17 17:23:49 +0000 |
commit | 7d1dcf3e68372a0692615c19ade95365ed633fcf (patch) | |
tree | 007138f9653de6baad72e1cd4e0bc826851e522b /OpenSim/Framework | |
parent | Replaced some Console.WriteLine calls with writes to log. (diff) | |
download | opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.zip opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.gz opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.bz2 opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.xz |
Replaced some magic PCode numbers with enum values.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 856f819..d0af5a8 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -53,7 +53,11 @@ namespace OpenSim.Framework | |||
53 | public enum PCodeEnum : byte | 53 | public enum PCodeEnum : byte |
54 | { | 54 | { |
55 | Primitive = 9, | 55 | Primitive = 9, |
56 | Avatar = 47 | 56 | Avatar = 47, |
57 | Grass = 95, | ||
58 | NewTree = 111, | ||
59 | ParticleSystem = 143, | ||
60 | Tree = 255 | ||
57 | } | 61 | } |
58 | 62 | ||
59 | public enum Extrusion : byte | 63 | public enum Extrusion : byte |