Skip to content

Commit

Permalink
ofxAssimpModelLoader : unused col warning fix (#7445)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitre authored Mar 29, 2023
1 parent 7614d93 commit 1e77cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ void ofxAssimpModelLoader::loadGLResources(){

if(AI_SUCCESS == aiGetMaterialColor(mtl, AI_MATKEY_COLOR_AMBIENT, &tcolor)){
auto col = aiColorToOfColor(tcolor);
meshHelper.material.setAmbientColor(aiColorToOfColor(tcolor));
meshHelper.material.setAmbientColor(col);
}

if(AI_SUCCESS == aiGetMaterialColor(mtl, AI_MATKEY_COLOR_EMISSIVE, &tcolor)){
Expand Down

0 comments on commit 1e77cec

Please sign in to comment.