Remove ERR_EXPLAIN from scene/* code
This commit is contained in:
parent
d2a67c9c1f
commit
af5e0fff66
36 changed files with 157 additions and 473 deletions
|
|
@ -317,8 +317,7 @@ float AnimationNodeStateMachinePlayback::process(AnimationNodeStateMachine *p_st
|
|||
if (!playing) {
|
||||
String node_name = start_request;
|
||||
start_request = StringName();
|
||||
ERR_EXPLAIN("Can't travel to '" + node_name + "' if state machine is not playing.");
|
||||
ERR_FAIL_V(0);
|
||||
ERR_FAIL_V_MSG(0, "Can't travel to '" + node_name + "' if state machine is not playing.");
|
||||
}
|
||||
|
||||
if (!_travel(p_state_machine, start_request)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue