Skip to content

Commit

Permalink
Merge branch 'v2.15-LTS'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Code/CMakeLists.txt
#	Code/Platform/Linux/PAL_linux.cmake
#	Code/Platform/Mac/PAL_mac.cmake
#	Code/Platform/Windows/PAL_windows.cmake
#	README.md
#	gem.json
  • Loading branch information
ValPKFX committed May 12, 2023
2 parents c748354 + 325712f commit 636a3ca
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
#----------------------------------------------------------------------------

#List of supported O3DE versions, uncomment one of the line to force the version
#set(PK_O3DE_ENGINE_VERSION "2305.0")
#set(PK_O3DE_ENGINE_VERSION "2210.0")
#set(PK_O3DE_ENGINE_VERSION "2205.0")
#set(PK_O3DE_ENGINE_VERSION "2111.2")
#set(PK_O3DE_ENGINE_VERSION "2111.1")

#Latest supported O3DE version
set(PK_O3DE_ENGINE_VERSION_LATEST "2210.0")
set(PK_O3DE_ENGINE_VERSION_LATEST "2305.0")

if (${PK_O3DE_ENGINE_VERSION})
set(o3de_build_number ${PK_O3DE_ENGINE_VERSION})
Expand Down
1 change: 1 addition & 0 deletions Code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ ly_add_target(
)

ly_create_alias(NAME PopcornFX.Clients NAMESPACE Gem TARGETS Gem::PopcornFX)
ly_create_alias(NAME PopcornFX.Unified NAMESPACE Gem TARGETS Gem::PopcornFX)
#ly_create_alias(NAME PopcornFX.Servers NAMESPACE Gem TARGETS Gem::PopcornFX)

if(PAL_TRAIT_BUILD_HOST_TOOLS)
Expand Down
2 changes: 1 addition & 1 deletion Code/Source/Integration/Managers/SceneViewsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void CSceneViewsManager::Activate()

void CSceneViewsManager::Deactivate()
{
m_SceneViews.m_Views.Clear();
m_SceneViews.m_Views.Clean();
}

void CSceneViewsManager::Update(CParticleMediumCollection *mediumCollection)
Expand Down
3 changes: 3 additions & 0 deletions Code/Source/Integration/Managers/StatsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ void CStatsManager::Deactivate()
PopcornFXProfilerRequestBus::Handler::BusDisconnect();
AZ::RPI::ViewportContextNotificationBus::Handler::BusDisconnect();
m_whiteTex = null;
m_MemoryFrames.Clean();
m_EffectTimings.Clean();
m_EffectTimings_Sum.Clean();
}

void CStatsManager::Reset(CParticleMediumCollection *mediumCollection)
Expand Down
1 change: 1 addition & 0 deletions Code/Source/Integration/Managers/WindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ void CWindManager::Activate()
void CWindManager::Deactivate()
{
Physics::WindNotificationsBus::Handler::BusDisconnect();
m_SceneWindSimInterfacePath = CString::EmptyString;
}

void CWindManager::Update()
Expand Down
2 changes: 1 addition & 1 deletion Code/Source/Integration/Managers/WindManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CWindManagerBase

static CWindManagerBase *Get() { return s_Self; }

private:
protected:
bool _BindSceneSimInterface() const;
void _UnbindSceneSimInterface();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ void CPopcornFXFeatureProcessor::Deactivate()
void CPopcornFXFeatureProcessor::Simulate(const SimulatePacket &packet)
{
AZ_UNUSED(packet);
if (!CCurrentThread::IsRegistered())
CCurrentThread::RegisterUserThread();

// To enable once O3DE moves the simple point light processor GPU buffer update into their Render() function instead of Simulate()
#if 0
AppendLightParticles();
Expand Down Expand Up @@ -446,4 +443,4 @@ void CPopcornFXFeatureProcessor::Init(CParticleMediumCollection *medCol, const S
#endif //O3DE_USE_PK

//----------------------------------------------------------------------------
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Integrates the **PopcornFX Runtime SDK** into **O3DE** as a Gem.
* **Version:** `v2.16.2`
* **O3DE:** `21.11`, `21.11.2`, `22.05.0`, `22.10.0`
* **O3DE:** `21.11`, `21.11.2`, `22.05.0`, `22.10.0`, `23.03.0`
* **Supported platforms:** `Windows`, `MacOS`, `Linux`, `iOS`, `Android`

**Note:** Mobile platforms are in an experimental stage. [Contact-us](http://www.popcornfx.com/contact-us/) to request access.
Expand Down

0 comments on commit 636a3ca

Please sign in to comment.