mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
*** empty log message ***
This commit is contained in:
parent
594fc23c3b
commit
218df7f2e2
@ -90,13 +90,13 @@ class ParticlePanel(AppShell):
|
|||||||
self.toggleSystemGrowsOlder, 0)
|
self.toggleSystemGrowsOlder, 0)
|
||||||
# Vector widgets
|
# Vector widgets
|
||||||
pos = self.createVector3Entry(systemPage, 'Pos',
|
pos = self.createVector3Entry(systemPage, 'Pos',
|
||||||
'Particle system position',
|
'Particle system position')
|
||||||
command = self.setSystemPos)
|
pos.command = self.setSystemPos
|
||||||
pos.addMenuItem('Popup Placer Panel', Placer.Placer)
|
pos.addMenuItem('Popup Placer Panel', Placer.Placer)
|
||||||
hpr = self.createVector3Entry(systemPage, 'Hpr',
|
hpr = self.createVector3Entry(systemPage, 'Hpr',
|
||||||
'Particle system orientation',
|
'Particle system orientation',
|
||||||
fGroup_labels = ('H', 'P', 'R'),
|
fGroup_labels = ('H', 'P', 'R'))
|
||||||
command = self.setSystemHpr)
|
hpr.command = self.setSystemHpr
|
||||||
hpr.addMenuItem('Popup Placer Panel', Placer.Placer)
|
hpr.addMenuItem('Popup Placer Panel', Placer.Placer)
|
||||||
|
|
||||||
## FACTORY PAGE ##
|
## FACTORY PAGE ##
|
||||||
@ -394,8 +394,8 @@ class ParticlePanel(AppShell):
|
|||||||
kw['min'] = min
|
kw['min'] = min
|
||||||
kw['initialValue'] = min
|
kw['initialValue'] = min
|
||||||
kw['resolution'] = resolution
|
kw['resolution'] = resolution
|
||||||
kw['command'] = command
|
|
||||||
widget = apply(Floater.Floater, (parent,), kw)
|
widget = apply(Floater.Floater, (parent,), kw)
|
||||||
|
widget.command = command
|
||||||
widget.pack(fill = X)
|
widget.pack(fill = X)
|
||||||
self.bind(widget, balloonHelp)
|
self.bind(widget, balloonHelp)
|
||||||
self.widgetDict['text'] = widget
|
self.widgetDict['text'] = widget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user