From 218df7f2e278b8a69abc21c945936c82af86e4b6 Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Thu, 18 Jan 2001 19:16:15 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/tkpanels/ParticlePanel.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/direct/src/tkpanels/ParticlePanel.py b/direct/src/tkpanels/ParticlePanel.py index b53d83fb7f..7a301006f2 100644 --- a/direct/src/tkpanels/ParticlePanel.py +++ b/direct/src/tkpanels/ParticlePanel.py @@ -90,13 +90,13 @@ class ParticlePanel(AppShell): self.toggleSystemGrowsOlder, 0) # Vector widgets pos = self.createVector3Entry(systemPage, 'Pos', - 'Particle system position', - command = self.setSystemPos) + 'Particle system position') + pos.command = self.setSystemPos pos.addMenuItem('Popup Placer Panel', Placer.Placer) hpr = self.createVector3Entry(systemPage, 'Hpr', 'Particle system orientation', - fGroup_labels = ('H', 'P', 'R'), - command = self.setSystemHpr) + fGroup_labels = ('H', 'P', 'R')) + hpr.command = self.setSystemHpr hpr.addMenuItem('Popup Placer Panel', Placer.Placer) ## FACTORY PAGE ## @@ -394,8 +394,8 @@ class ParticlePanel(AppShell): kw['min'] = min kw['initialValue'] = min kw['resolution'] = resolution - kw['command'] = command widget = apply(Floater.Floater, (parent,), kw) + widget.command = command widget.pack(fill = X) self.bind(widget, balloonHelp) self.widgetDict['text'] = widget