Revision: 57040
http://sourceforge.net/p/brlcad/code/57040
Author: starseeker
Date: 2013-08-21 18:40:00 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
Tweak assignment of unit entities to the aggregate.
Modified Paths:
--------------
brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp
brlcad/trunk/src/other/stepcode/src/clstepcore/STEPcomplex.cc
Modified: brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp
===================================================================
--- brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp 2013-08-21 17:52:58 UTC
(rev 57039)
+++ brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp 2013-08-21 18:40:00 UTC
(rev 57040)
@@ -398,9 +398,9 @@
std::string attrval;
if (!bu_strcmp(attr->Name(), "units")) {
EntityAggregate *unit_assigned_agg = new EntityAggregate();
- unit_assigned_agg->AddNode(new
EntityNode((SDAI_Application_instance *)ua_entry_1));
+ unit_assigned_agg->AddNode(new
EntityNode((SDAI_Application_instance *)unit_complex));
unit_assigned_agg->AddNode(new
EntityNode((SDAI_Application_instance *)ua_entry_2));
- unit_assigned_agg->AddNode(new
EntityNode((SDAI_Application_instance *)uncertainty));
+ unit_assigned_agg->AddNode(new
EntityNode((SDAI_Application_instance *)ua_entry_3));
attr->ptr.a = unit_assigned_agg;
}
}
Modified: brlcad/trunk/src/other/stepcode/src/clstepcore/STEPcomplex.cc
===================================================================
--- brlcad/trunk/src/other/stepcode/src/clstepcore/STEPcomplex.cc
2013-08-21 17:52:58 UTC (rev 57039)
+++ brlcad/trunk/src/other/stepcode/src/clstepcore/STEPcomplex.cc
2013-08-21 18:40:00 UTC (rev 57040)
@@ -565,7 +565,7 @@
if( writeComment && !p21Comment.empty() ) {
out << p21Comment;
}
- out << "#" << STEPfile_id << "=(";
+ out << "#" << STEPfile_id << "=(\n";
WriteExtMapEntities( out, currSch );
out << ");\n";
}
@@ -597,7 +597,7 @@
out << ",";
}
}
- out << ")";
+ out << ")\n";
if( sc ) {
sc->WriteExtMapEntities( out, currSch );
}
@@ -620,7 +620,7 @@
buf.append( "," );
}
}
- buf.append( ")" );
+ buf.append( ")\n" );
if( sc ) {
sc->WriteExtMapEntities( buf, currSch );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits