Damien, Ken, Changing build options for libftoa actually fixes the problem. I was wrong when I said it didn't, because I changed the wrong option in SConscript.
This method is better than the sprintf hack. The correct patch: http://www.pasteall.org/11122/diff. On Wed, Feb 17, 2010 at 6:53 PM, Damien Plisson <[email protected]>wrote: > Hi Arystan, > > Do you know if there is a more recent version of lib opencollada that fixes > this bug ? If yes, do we upgrade ? > Or at least they have a bug report to work on ? > > In the meantime, is it only libftoa that is buggy when built optimized ? > That is, is it the only we need to rebuild? > > Damien > > Le 17 févr. 2010 à 12:56, Arystan Dyussenov a écrit : > > > Confirmed. The problem only occurs when building with "-O2" option. Looks > > like OpenCollada's function dtoa(), common/libftoa/src/Commondtoa.cpp > needs > > fixing. > > > > On Wed, Feb 17, 2010 at 6:45 AM, Ken Hughes <[email protected]> wrote: > > > >> Let me give more details. > >> > >> Removed ~/.blender, ran blender build with collada > >> Deleted everything from basic scene except cube > >> Export --> COLLADA (.dae) > >> set filename to "cube.dae", press "Export COLLADA" button. > >> Messages are displayed in terminal window: > >> > >> RNA_string_set: WM_OT_collada_export.filename not found. > >> RNA_string_set: WM_OT_collada_export.directory not found. > >> > >> Delete cube from scene. > >> Import --> COLLADA (.dae) > >> select"cube.dae", press "Import COLLADA" button. > >> > >> Messages are displayed in terminal window: > >> RNA_string_set: WM_OT_collada_import.filename not found. > >> RNA_string_set: WM_OT_collada_import.directory not found. > >> Cannot find texture array by texture index. > >> > >> A "zero size" cube is created: all vertices/edges/faces, but vertices > seem > >> to have the same coordinate (1,1,0). > >> > >> The cube.dae file is attached. > >> > >> Ken > >> > >> Ok, that would be "no, it doesn't work". > >>> > >>> Ken > >>> > >>> Tom M wrote: > >>> > >>> > >>>> Simple test, export cube via collada, > >>>> > >>>> delete cube from scene, > >>>> > >>>> import the cube.dae you created and see if you now have cube in your > >>>> scene, > >>>> > >>>> LetterRip > >>>> > >>>> On Mon, Feb 15, 2010 at 5:44 PM, Ken Hughes <[email protected]> > wrote: > >>>> > >>>> > >>>>> Thanks to tips from Martin, looks like I'm on board. > >>>>> > >>>>> Will include FFMPEG and Collada, although would be good if someone > can > >>>>> test some builds first to verify collada functionality. That is, > >>>>> assuming there's something more than just seeing if it comes up in > the > >>>>> Import and Export menus. > >>>>> > >>>>> Ken > >>>>> > >>>>> > >>>> _______________________________________________ > >>>> Bf-committers mailing list > >>>> [email protected] > >>>> http://lists.blender.org/mailman/listinfo/bf-committers > >>>> > >>>> > >>>> > >>> > >>> _______________________________________________ > >>> Bf-committers mailing list > >>> [email protected] > >>> http://lists.blender.org/mailman/listinfo/bf-committers > >>> > >>> > >>> > >> > >> > >> _______________________________________________ > >> Bf-committers mailing list > >> [email protected] > >> http://lists.blender.org/mailman/listinfo/bf-committers > >> > >> > > _______________________________________________ > > Bf-committers mailing list > > [email protected] > > http://lists.blender.org/mailman/listinfo/bf-committers > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
