Update OpenGEXImporter.cpp
Fix compiler warning: remove unused variables.pull/903/head
parent
5463146688
commit
abad093d09
|
@ -16,7 +16,7 @@ following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above
|
* Redistributions in binary form must reproduce the above
|
||||||
copyright notice, this list of conditions and the
|
copyright notice, this list of conditions and the
|
||||||
following disclaimer in the documentation and/or other
|
following disclaimer in the documentation and/or other
|
||||||
materials provided with the distribution.
|
materials provided with the distribution
|
||||||
|
|
||||||
* Neither the name of the assimp team, nor the names of its
|
* Neither the name of the assimp team, nor the names of its
|
||||||
contributors may be used to endorse or promote products
|
contributors may be used to endorse or promote products
|
||||||
|
@ -552,7 +552,6 @@ void OpenGEXImporter::handleGeometryNode( DDLNode *node, aiScene *pScene ) {
|
||||||
//------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------
|
||||||
void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
|
void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
|
||||||
aiCamera *camera( new aiCamera );
|
aiCamera *camera( new aiCamera );
|
||||||
const size_t camIdx( m_cameraCache.size() );
|
|
||||||
m_cameraCache.push_back( camera );
|
m_cameraCache.push_back( camera );
|
||||||
m_currentCamera = camera;
|
m_currentCamera = camera;
|
||||||
|
|
||||||
|
@ -571,7 +570,6 @@ void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
|
||||||
//------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------
|
||||||
void OpenGEXImporter::handleLightNode( ODDLParser::DDLNode *node, aiScene *pScene ) {
|
void OpenGEXImporter::handleLightNode( ODDLParser::DDLNode *node, aiScene *pScene ) {
|
||||||
aiLight *light( new aiLight );
|
aiLight *light( new aiLight );
|
||||||
const size_t lightIdx( m_lightCache.size() );
|
|
||||||
m_lightCache.push_back( light );
|
m_lightCache.push_back( light );
|
||||||
m_currentLight = light;
|
m_currentLight = light;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue