Skip to content

Determinant fix #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
Update ColladaMeshShape.java
  • Loading branch information
christianliebl authored Nov 19, 2016
commit dfb22a85a165b9ebfaa9338a65599c617c5a7a14
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,9 @@ protected String getTexCoordSemantic(Geometry geometry)
*/
protected String getTextureSource(ColladaAbstractGeometry geometry)
{
if (this.bindMaterial == null)
return null;

ColladaTechniqueCommon techniqueCommon = this.bindMaterial.getTechniqueCommon();
if (techniqueCommon == null)
return null;
Expand Down Expand Up @@ -1297,7 +1300,10 @@ protected String getImageRef(ColladaEffect effect, ColladaTexture texture)
* available.
*/
protected ColladaEffect getEffect(ColladaAbstractGeometry geometry)
{
{
if (this.bindMaterial == null)
return null;

ColladaTechniqueCommon techniqueCommon = this.bindMaterial.getTechniqueCommon();
if (techniqueCommon == null)
return null;
Expand Down