added scale attrib to NodePath

This commit is contained in:
Darren Ranalli 2004-01-05 23:16:44 +00:00
parent 0f4b4c95b2
commit 83d2151a6c

View File

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