[Bf-blender-cvs] [902bd4a1cfa] temp-sybren-alembic-customprops-read: instead of 'using' all individual names, just use the namespace instead.

Sybren A. Stüvel noreply at git.blender.org
Thu Dec 7 10:36:27 CET 2017


Commit: 902bd4a1cfa7a0cbd5afbf35c2df797a2b164c45
Author: Sybren A. Stüvel
Date:   Mon Nov 13 12:32:41 2017 +0100
Branches: temp-sybren-alembic-customprops-read
https://developer.blender.org/rB902bd4a1cfa7a0cbd5afbf35c2df797a2b164c45

instead of 'using' all individual names, just use the namespace instead.

===================================================================

M	source/blender/alembic/intern/abc_mesh.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index ffaa516d81a..40859ace390 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -54,51 +54,7 @@ extern "C" {
 #include "bmesh_tools.h"
 }
 
-using Alembic::Abc::FloatArraySample;
-using Alembic::Abc::ICompoundProperty;
-using Alembic::Abc::Int32ArraySample;
-using Alembic::Abc::Int32ArraySamplePtr;
-using Alembic::Abc::P3fArraySamplePtr;
-using Alembic::Abc::V2fArraySample;
-using Alembic::Abc::V3fArraySample;
-using Alembic::Abc::C4fArraySample;
-
-using Alembic::AbcGeom::IFaceSet;
-using Alembic::AbcGeom::IFaceSetSchema;
-using Alembic::AbcGeom::IObject;
-using Alembic::AbcGeom::IPolyMesh;
-using Alembic::AbcGeom::IPolyMeshSchema;
-using Alembic::AbcGeom::ISampleSelector;
-using Alembic::AbcGeom::ISubD;
-using Alembic::AbcGeom::ISubDSchema;
-using Alembic::AbcGeom::IV2fGeomParam;
-
-using Alembic::AbcGeom::OArrayProperty;
-using Alembic::AbcGeom::OBoolProperty;
-using Alembic::AbcGeom::OC3fArrayProperty;
-using Alembic::AbcGeom::OC3fGeomParam;
-using Alembic::AbcGeom::OC4fGeomParam;
-using Alembic::AbcGeom::OCompoundProperty;
-using Alembic::AbcGeom::OFaceSet;
-using Alembic::AbcGeom::OFaceSetSchema;
-using Alembic::AbcGeom::OFloatGeomParam;
-using Alembic::AbcGeom::OInt32GeomParam;
-using Alembic::AbcGeom::ON3fArrayProperty;
-using Alembic::AbcGeom::ON3fGeomParam;
-using Alembic::AbcGeom::OPolyMesh;
-using Alembic::AbcGeom::OPolyMeshSchema;
-using Alembic::AbcGeom::OSubD;
-using Alembic::AbcGeom::OSubDSchema;
-using Alembic::AbcGeom::OV2fGeomParam;
-using Alembic::AbcGeom::OV3fGeomParam;
-
-using Alembic::AbcGeom::kFacevaryingScope;
-using Alembic::AbcGeom::kVaryingScope;
-using Alembic::AbcGeom::kVertexScope;
-using Alembic::AbcGeom::kWrapExisting;
-using Alembic::AbcGeom::UInt32ArraySample;
-using Alembic::AbcGeom::N3fArraySamplePtr;
-using Alembic::AbcGeom::IN3fGeomParam;
+using namespace Alembic::AbcGeom; // Contains Abc, AbcCoreAbstract
 
 /* ************************************************************************** */



More information about the Bf-blender-cvs mailing list