Revision: 55248
http://sourceforge.net/p/brlcad/code/55248
Author: n_reed
Date: 2013-04-25 19:45:56 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
looks like t_pcurve_or_surface is the select type, and the underlying type
should be one of pcurve or surface
Modified Paths:
--------------
brlcad/trunk/src/conv/step/SurfaceCurve.cpp
Modified: brlcad/trunk/src/conv/step/SurfaceCurve.cpp
===================================================================
--- brlcad/trunk/src/conv/step/SurfaceCurve.cpp 2013-04-25 16:51:51 UTC (rev
55247)
+++ brlcad/trunk/src/conv/step/SurfaceCurve.cpp 2013-04-25 19:45:56 UTC (rev
55248)
@@ -118,7 +118,11 @@
while (sn != NULL) {
p_or_s = static_cast<SDAI_Select *>(sn->node);
- if (p_or_s && p_or_s->CurrentUnderlyingType() ==
config_control_design::t_pcurve_or_surface) {
+ const TypeDescriptor *underlying_type =
p_or_s->CurrentUnderlyingType();
+
+ if (underlying_type == config_control_design::e_pcurve ||
+ underlying_type == config_control_design::e_surface)
+ {
PCurveOrSurface *aPCOS = new PCurveOrSurface();
if (!aPCOS->Load(step, p_or_s)) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits