mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
added scale attrib to NodePath
This commit is contained in:
parent
0f4b4c95b2
commit
83d2151a6c
@ -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'),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user