From 83d2151a6cf40dcb61ef2880091420a0e8b37dc5 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Mon, 5 Jan 2004 23:16:44 +0000 Subject: [PATCH] added scale attrib to NodePath --- direct/src/level/EntityTypes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/direct/src/level/EntityTypes.py b/direct/src/level/EntityTypes.py index 4033c47efb..4ff6266bd7 100755 --- a/direct/src/level/EntityTypes.py +++ b/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'), )