[fusion-commits] r2132 - sandbox/adsk/2.2gp/widgets/Theme/classes
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Apr 5 22:00:30 EDT 2010
Author: liuar
Date: 2010-04-05 22:00:29 -0400 (Mon, 05 Apr 2010)
New Revision: 2132
Modified:
sandbox/adsk/2.2gp/widgets/Theme/classes/theme.php
Log:
Port the fix of ticket #386 to adsk branch
Modified: sandbox/adsk/2.2gp/widgets/Theme/classes/theme.php
===================================================================
--- sandbox/adsk/2.2gp/widgets/Theme/classes/theme.php 2010-04-06 01:59:47 UTC (rev 2131)
+++ sandbox/adsk/2.2gp/widgets/Theme/classes/theme.php 2010-04-06 02:00:29 UTC (rev 2132)
@@ -63,7 +63,14 @@
if($propDef->GetPropertyType() == MgFeaturePropertyType::GeometricProperty)
{
- if ($propDef->GetGeometryTypes() == MgFeatureGeometricType::Surface)
+ if ($propDef->GetGeometryTypes() == MgFeatureGeometricType::Surface ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Point | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Curve | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Solid | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Point | MgFeatureGeometricType::Curve | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Point | MgFeatureGeometricType::Solid | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Curve | MgFeatureGeometricType::Solid | MgFeatureGeometricType::Surface) ||
+ $propDef->GetGeometryTypes() == (MgFeatureGeometricType::Point | MgFeatureGeometricType::Curve | MgFeatureGeometricType::Solid | MgFeatureGeometricType::Surface))
{
$layerNames[$layer->GetName()] = $layer->GetLegendLabel();
}
More information about the fusion-commits
mailing list