mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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'}),
|
('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'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user