Browse Source

added scale attrib to NodePath

Darren Ranalli 22 years ago
parent
commit
83d2151a6c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      direct/src/level/EntityTypes.py

+ 1 - 2
direct/src/level/EntityTypes.py

@@ -51,6 +51,7 @@ class Nodepath(Entity):
         ('parentEntId', 0, 'entId', {'type':'nodepath'}),
         ('pos', Point3(0,0,0), 'pos'),
         ('hpr', Vec3(0,0,0), 'hpr'),
+        ('scale', 1, 'scale'),
         )
 
 class Zone(Nodepath):
@@ -102,14 +103,12 @@ class CutScene(Entity):
 class Model(Nodepath):
     type = 'model'
     attribs = (
-        ('scale', 1, 'pos'),
         ('modelPath', None, 'bamfilename'),
         )
 
 class Path(Nodepath):
     type = 'path'
     attribs = (
-        ('scale', 1, 'pos'),
         ('pathIndex', 0, 'int'),
         )