Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 02:00:58 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Bug or useless piece of code in Cal3dModel
Pages: [1]
Print
Author Topic: Bug or useless piece of code in Cal3dModel  (Read 223 times)
lonesomeStranger
Becoming dependent
**
Offline Offline

Posts: 111

197432680
View Profile
« on: 03. May 2010, 01:59:50 pm »

Hi,

I've noticed wrong expression in Cal3dModel (method initializeNode, line 166):

Code:
if ((mesh.getCoreMesh().material != null) && !mesh.getCoreMesh().material.equals(""))

Type of material is URL but equals() is called with String parameter. I guess it simply can be deleted.
Logged

Anton
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic