From fc71f2852feb37a590a0c1588fc4059f304efd14 Mon Sep 17 00:00:00 2001 From: Abhishek Nath Date: Tue, 14 Apr 2009 23:53:40 +0000 Subject: [PATCH] Added more animation controls to RTM --- direct/src/tkpanels/AnimPanel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/tkpanels/AnimPanel.py b/direct/src/tkpanels/AnimPanel.py index f87e69b49c..6ceb59aa1a 100644 --- a/direct/src/tkpanels/AnimPanel.py +++ b/direct/src/tkpanels/AnimPanel.py @@ -406,14 +406,14 @@ class ActorControl(Pmw.MegaWidget): self._label.pack(side = LEFT, fill = X) # Combo box to select current animation - animMenu = self.createcomponent( + self.animMenu = self.createcomponent( 'animMenu', (), None, Pmw.ComboBox, (interior,), labelpos = W, label_text = 'Anim:', entry_width = 12, selectioncommand = self.selectAnimNamed, scrolledlist_items = self['animList']) - animMenu.selectitem(self['active']) - animMenu.pack(side = 'left', padx = 5, expand = 0) + self.animMenu.selectitem(self['active']) + self.animMenu.pack(side = 'left', padx = 5, expand = 0) # Combo box to select frame rate playRateList = ['1/24.0', '0.1', '0.5', '1.0', '2.0', '5.0', '10.0']