rna renaming, still only adjusting properties that wont be animated (at least its very unlikely).

This commit is contained in:
2010-08-18 07:14:10 +00:00
parent 54e6ea70c0
commit 7da5d9faec
72 changed files with 457 additions and 472 deletions

View File

@@ -461,7 +461,7 @@ class x3d_class:
self.writeIndented("<Shape>\n",1)
maters=mesh.materials
hasImageTexture=0
issmooth=0
is_smooth = False
if len(maters) > 0 or mesh.active_uv_texture:
# if len(maters) > 0 or mesh.faceUV:
@@ -516,10 +516,10 @@ class x3d_class:
self.file.write("solid=\"true\" ")
for face in mesh.faces:
if face.smooth:
issmooth=1
break
if issmooth==1:
if face.use_smooth:
is_smooth = True
break
if is_smooth == True:
creaseAngle=(mesh.autosmooth_angle)*(math.pi/180.0)
# creaseAngle=(mesh.degr)*(math.pi/180.0)
self.file.write("creaseAngle=\"%s\" " % (round(creaseAngle,self.cp)))