|
|
@@ -1153,9 +1153,6 @@ void WindowFramework::
|
|
|
create_anim_controls() {
|
|
|
destroy_anim_controls();
|
|
|
|
|
|
- AnimControl *control = _anim_controls.get_anim(_anim_index);
|
|
|
- nassertv(control != (AnimControl *)NULL);
|
|
|
-
|
|
|
PT(PGItem) group = new PGItem("anim_controls_group");
|
|
|
PGFrameStyle style;
|
|
|
style.set_type(PGFrameStyle::T_flat);
|
|
|
@@ -1179,6 +1176,9 @@ create_anim_controls() {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ AnimControl *control = _anim_controls.get_anim(_anim_index);
|
|
|
+ nassertv(control != (AnimControl *)NULL);
|
|
|
+
|
|
|
PT(TextNode) label = new TextNode("anim_name");
|
|
|
label->set_align(TextNode::A_left);
|
|
|
label->set_text(_anim_controls.get_anim_name(_anim_index));
|