Revision: 56838
http://sourceforge.net/p/brlcad/code/56838
Author: starseeker
Date: 2013-08-14 16:24:13 +0000 (Wed, 14 Aug 2013)
Log Message:
-----------
This initializes the _edge_list in edge_loops, but it's not enough - the list
isn't being written out.
Modified Paths:
--------------
brlcad/trunk/src/other/stepcode/src/fedex_plus/classes.c
Modified: brlcad/trunk/src/other/stepcode/src/fedex_plus/classes.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/fedex_plus/classes.c 2013-08-14
13:38:52 UTC (rev 56837)
+++ brlcad/trunk/src/other/stepcode/src/fedex_plus/classes.c 2013-08-14
16:24:13 UTC (rev 56838)
@@ -1644,6 +1644,28 @@
LISTod;
+ /* Need to initialize aggergate containers coming from non-principle
supertypes */
+ if (multiple_inheritance) {
+ super_cnt = 0;
+ list = ENTITYget_supertypes( entity );
+ if( ! LISTempty( list ) ) {
+ LISTdo( list, e, Entity )
+ super_cnt++;
+ if( super_cnt == 2 ) {
+ attr_list = ENTITYget_all_attributes( e );
+ LISTdo( attr_list, a, Variable )
+ generate_attribute_name( a, attrnm );
+ t = VARget_type( a );
+ if( TYPEis_aggregate( t ) ) {
+ fprintf( file, " _%s = new %s;\n",
attrnm, TYPEget_ctype( t ) );
+ }
+ LISTod;
+ }
+ LISTod;
+ }
+ }
+
+
attr_list = ENTITYget_all_attributes( entity );
LISTdo( attr_list, a, Variable )
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits