Skip to content
Snippets Groups Projects

fix: event_start_trigger_in_event_node

Merged Elnagdy Elnagdy requested to merge fix_event_start_trigger_in_event_node into main
All threads resolved!
3 files
+ 18
3
Compare changes
  • Side-by-side
  • Inline
Files
3
/*******************************************************************************
/*******************************************************************************
* Copyright (c) 2025 Ansys, Inc.
* Copyright (c) 2025 Ansys, Inc.
 
* Copyright (c) 2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
*
* This program and the accompanying materials are made available under the
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* terms of the Eclipse Public License 2.0 which is available at
@@ -37,7 +38,7 @@ yase::NodeStatus EventNode::tick()
@@ -37,7 +38,7 @@ yase::NodeStatus EventNode::tick()
auto current_status = TriggerableCompositeNode::tick();
auto current_status = TriggerableCompositeNode::tick();
if (start_trigger_->status() == yase::NodeStatus::kSuccess)
if (start_trigger_ == nullptr || start_trigger_->status() == yase::NodeStatus::kSuccess)
{
{
event_prioritizer_->EventStarted(name());
event_prioritizer_->EventStarted(name());
}
}
Loading