[brlcad-commits] SF.net SVN: brlcad:[40438] brlcad/branches/bottie/src/librt/primitives/bot/ bot.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-09-02 19:53:08
|
Revision: 40438 http://brlcad.svn.sourceforge.net/brlcad/?rev=40438&view=rev Author: erikgreenwald Date: 2010-09-02 19:53:01 +0000 (Thu, 02 Sep 2010) Log Message: ----------- return value of prep. Do not call prep in import5. Modified Paths: -------------- brlcad/branches/bottie/src/librt/primitives/bot/bot.c Modified: brlcad/branches/bottie/src/librt/primitives/bot/bot.c =================================================================== --- brlcad/branches/bottie/src/librt/primitives/bot/bot.c 2010-09-02 19:48:29 UTC (rev 40437) +++ brlcad/branches/bottie/src/librt/primitives/bot/bot.c 2010-09-02 19:53:01 UTC (rev 40438) @@ -205,7 +205,7 @@ RT_BOT_CK_MAGIC(bot_ip); if (bot_ip->tie != NULL) { - bottie_prep_double(bot_ip->tie); + return bottie_prep_double(bot_ip->tie); } else if (bot_ip->bot_flags & RT_BOT_USE_FLOATS) { return rt_bot_prep_float(stp, bot_ip, rtip); } else { @@ -1003,7 +1003,6 @@ v[2] = &bip->vertices[bip->faces[i*3+2]*3]; bottie_push_double((struct tie_s *)bip->tie, v, 1, i, 0); } - bottie_prep_double((struct tie_s *)bip->tie); } /* prep will wire the engine to bot_specific */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |