Fixed createZone function
authorShockeye
Sun Mar 06 21:27:10 2011 +1100 (14 months ago)
changeset 1913f1486d2d5f96
parent 1912 eb8a16fa981b
child 1915 21aec3f2d72a
Fixed createZone function
(again - forgot to actually apply the updated mesh name to the property the first time!)
Plugins/OgModularZone/ModularZoneToolbar.cpp
     1.1 --- a/Plugins/OgModularZone/ModularZoneToolbar.cpp	Sun Feb 27 17:02:45 2011 +0100
     1.2 +++ b/Plugins/OgModularZone/ModularZoneToolbar.cpp	Sun Mar 06 21:27:10 2011 +1100
     1.3 @@ -150,7 +150,7 @@
     1.4  			propMesh.propType = PROP_STRING;
     1.5  			propMesh.val = Ogre::Any(meshfile);
     1.6  
     1.7 -			zoneparams["meshname"] = entparams["meshfile"];
     1.8 +			zoneparams["meshname"] = propMesh;
     1.9              zoneparams["position"] = entparams["position"];
    1.10  			zoneparams["orientation"] = entparams["orientation"];
    1.11  			//set the init param to create a new object