File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -772,6 +772,7 @@ namespace ecsact::entt {
772
772
const void * action_data = nullptr ;
773
773
auto itr_view = [&] {
774
774
for (auto entity : view) {
775
+ bool missing_assoc_entities = false ;
775
776
mp_for_each<mp_iota_c<mp_size<associations>::value>>([&](auto I) {
776
777
using boost::mp11::mp_at;
777
778
using boost::mp11::mp_size_t ;
@@ -799,18 +800,22 @@ namespace ecsact::entt {
799
800
}
800
801
}
801
802
802
- assert (found_associated_entity);
803
+ if (!found_associated_entity) {
804
+ missing_assoc_entities = true ;
805
+ }
803
806
});
804
807
805
- _execute_system_user_itr<SystemT, ChildSystemsListT>(
806
- info,
807
- view,
808
- assoc_views,
809
- entity,
810
- parent,
811
- action_data,
812
- actions
813
- );
808
+ if (!missing_assoc_entities) {
809
+ _execute_system_user_itr<SystemT, ChildSystemsListT>(
810
+ info,
811
+ view,
812
+ assoc_views,
813
+ entity,
814
+ parent,
815
+ action_data,
816
+ actions
817
+ );
818
+ }
814
819
}
815
820
};
816
821
You can’t perform that action at this time.
0 commit comments