*** empty log message ***
This commit is contained in:
parent
990c29de79
commit
b52209aecf
|
|
@ -111,6 +111,13 @@ static void click_button_up(CPT_Event e) {
|
|||
}
|
||||
|
||||
void GuiButton::switch_state(GuiButton::States nstate) {
|
||||
if (_mgr == (GuiManager*)0L) {
|
||||
gui_cat.warning()
|
||||
<< "Tried to switch state of unmanaged button\n";
|
||||
_state = nstate;
|
||||
return;
|
||||
}
|
||||
|
||||
test_ref_count_integrity();
|
||||
States ostate = _state;
|
||||
// cleanup old state
|
||||
|
|
|
|||
|
|
@ -2565,6 +2565,7 @@ r_get_net_transitions(const ArcComponent *comp,
|
|||
////////////////////////////////////////////////////////////////////
|
||||
string NodePath::
|
||||
format_node_name(Node *node) const {
|
||||
nassertr(node != (Node *)NULL, string());
|
||||
string name;
|
||||
if (node->is_of_type(NamedNode::get_class_type())) {
|
||||
name = DCAST(NamedNode, node)->get_name();
|
||||
|
|
|
|||
Loading…
Reference in New Issue