Fix PhysXDebug and PhysXEditor loading order (#14)

Co-authored-by: Ulugbek Adilbekov <ulugbek@amazon.com>
main
Ulugbek Adilbekov 5 years ago committed by GitHub
parent a92da4bcf5
commit aa0b54838c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -213,6 +213,9 @@ namespace PhysXDebug
void SystemComponent::GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required)
{
required.push_back(AZ_CRC("PhysXService"));
#ifdef PHYSXDEBUG_GEM_EDITOR
required.push_back(AZ_CRC("PhysXEditorService"));
#endif // PHYSXDEBUG_GEM_EDITOR
}
void SystemComponent::GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent)

Loading…
Cancel
Save