[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32283] trunk/lib/darwin-8.x.i386: OSX/ Cocoa 10.4 i386 libs : Update OpenCollada libs to rev 769 + jesterKing patch

Damien Plisson damien.plisson at yahoo.fr
Sun Oct 3 20:21:48 CEST 2010


Revision: 32283
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32283
Author:   damien78
Date:     2010-10-03 20:21:48 +0200 (Sun, 03 Oct 2010)

Log Message:
-----------
OSX/Cocoa 10.4 i386 libs : Update OpenCollada libs to rev 769 + jesterKing patch

Revision Links:
--------------
    http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=769

Modified Paths:
--------------
    trunk/lib/darwin-8.x.i386/README
    trunk/lib/darwin-8.x.i386/opencollada/include/COLLADAFramework/COLLADAFWTextureCoordinateBinding.h
    trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLIFilePartLoader.h
    trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLLoader.h
    trunk/lib/darwin-8.x.i386/opencollada/lib/libGeneratedSaxParser.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libMathMLSolver.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADABaseUtils.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADAFramework.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADASaxFrameworkLoader.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADAStreamWriter.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libUTF.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libbuffer.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libftoa.a
    trunk/lib/darwin-8.x.i386/opencollada/lib/libpcre.a

Modified: trunk/lib/darwin-8.x.i386/README
===================================================================
--- trunk/lib/darwin-8.x.i386/README	2010-10-03 18:19:22 UTC (rev 32282)
+++ trunk/lib/darwin-8.x.i386/README	2010-10-03 18:21:48 UTC (rev 32283)
@@ -9,7 +9,7 @@
 x264 (version 20100928)
 flac (version 1.2.1)
 sndfile (version 1.0.21)
-opencollada (svn rev 768)
+opencollada (svn rev 769 + jesterKing patch)
 
 
 The following configuration parameters were used to build the libs:
@@ -54,4 +54,5 @@
 
 OPENCOLLADA:
 patch the OpenCollada Sconstruct file with opencollada/collada_OSXbuild.patch
+patch the OpenCollada source files with jesterKing patch: http://code.google.com/p/opencollada/issues/detail?id=117
 python scons.py -j 2  RELEASE=1 PCRENATIVE=0 XMLPARSER=libxmlnative NOVALIDATION=1

Modified: trunk/lib/darwin-8.x.i386/opencollada/include/COLLADAFramework/COLLADAFWTextureCoordinateBinding.h
===================================================================
--- trunk/lib/darwin-8.x.i386/opencollada/include/COLLADAFramework/COLLADAFWTextureCoordinateBinding.h	2010-10-03 18:19:22 UTC (rev 32282)
+++ trunk/lib/darwin-8.x.i386/opencollada/include/COLLADAFramework/COLLADAFWTextureCoordinateBinding.h	2010-10-03 18:21:48 UTC (rev 32283)
@@ -33,7 +33,11 @@
         with parameter id. */
         size_t mSetIndex;
 
-    public:
+		
+		/** The semantic used for this texture coordinate binding (<bind_vertex_input> attribute semantic) */
+		String mName;
+		
+	public:
 
         /** Constructor. */
         TextureCoordinateBinding() {}
@@ -52,7 +56,10 @@
         with parameter id. */
         const size_t& getSetIndex () const { return mSetIndex; }
         void setSetIndex ( const size_t& val ) { mSetIndex = val; }
-
+		
+		const String getName() const { return mName; }
+		void setName( const String& val ) { mName = val; }
+		
         /** Operator overloading. */
         bool operator<( const TextureCoordinateBinding& rhs) const
         {

Modified: trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLIFilePartLoader.h
===================================================================
--- trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLIFilePartLoader.h	2010-10-03 18:19:22 UTC (rev 32282)
+++ trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLIFilePartLoader.h	2010-10-03 18:21:48 UTC (rev 32283)
@@ -174,10 +174,8 @@
 		@return The elements COLLADAFW::UniqueId */
 		COLLADAFW::UniqueId createUniqueId(COLLADAFW::ClassId classId);
 
-		/** Returns the GeometryMaterialIdInfo object of the geometry with @a uniqueId. If this method has
-		not been called before with the same uniqueId, an empty GeometryMaterialIdInfo is created, added to
-		the map and returned.*/
-		GeometryMaterialIdInfo& getMeshMaterialIdInfo( const COLLADAFW::UniqueId& uniqueId);
+		/** Returns the GeometryMaterialIdInfo to map symbols to ids*/
+		GeometryMaterialIdInfo& getMeshMaterialIdInfo( );
 
 		/** Returns TextureMapId for @a semantic. Successive call with same semantic return the same TextureMapId.*/
 		COLLADAFW::TextureMapId getTextureMapIdBySematic( const String& semantic );

Modified: trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLLoader.h
===================================================================
--- trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLLoader.h	2010-10-03 18:19:22 UTC (rev 32282)
+++ trunk/lib/darwin-8.x.i386/opencollada/include/COLLADASaxFrameworkLoader/COLLADASaxFWLLoader.h	2010-10-03 18:21:48 UTC (rev 32283)
@@ -64,8 +64,6 @@
 	class Loader : public COLLADAFW::ILoader
 	{
 	public:
-		/** Maps the unique id of each geometry to the corresponding ColladaSymbolMaterialIdMap.*/
-		typedef std::map<COLLADAFW::UniqueId, GeometryMaterialIdInfo> UniqueIdMeshMaterialIdInfoMap;
 
 		typedef std::map<String, COLLADAFW::TextureMapId> StringTextureMapIdMap;
 
@@ -215,7 +213,7 @@
 		COLLADAFW::FileId mCurrentFileId;
 
 		/** Maps the unique id of each geometry to the corresponding GeometryMaterialIdInfo.*/
-		UniqueIdMeshMaterialIdInfoMap mGeometryMeshMaterialIdInfoMapMap;
+		GeometryMaterialIdInfo mGeometryMaterialIdInfo;
 
 		/** The error handler to pass the errors to.*/
 		IErrorHandler* mErrorHandler;
@@ -390,10 +388,8 @@
 		@a fileId nor @a uri have been passed to that method before.*/
 		void addFileIdUriPair( COLLADAFW::FileId fileId, const COLLADABU::URI& uri );
 
-		/** Returns the GeometryMaterialIdInfo object of the geometry with @a uniqueId. If this method has 
-		not been called before with the same uniqueId, an empty GeometryMaterialIdInfo is created, added to
-		the map and returned.*/
-		GeometryMaterialIdInfo& getMeshMaterialIdInfo( const COLLADAFW::UniqueId& uniqueId);
+		/** Returns the GeometryMaterialIdInfo to map symbols to ids*/
+		GeometryMaterialIdInfo& getMeshMaterialIdInfo( );
 
 		/** Returns TextureMapId for @a semantic. Successive call with same semantic return the same TextureMapId.*/
 		COLLADAFW::TextureMapId getTextureMapIdBySematic( const String& semantic );

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libGeneratedSaxParser.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libMathMLSolver.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADABaseUtils.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADAFramework.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADASaxFrameworkLoader.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libOpenCOLLADAStreamWriter.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libUTF.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libbuffer.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libftoa.a
===================================================================
(Binary files differ)

Modified: trunk/lib/darwin-8.x.i386/opencollada/lib/libpcre.a
===================================================================
(Binary files differ)





More information about the Bf-blender-cvs mailing list