Skip to content

Commit

Permalink
PopcornFX Plugin v2.18.5
Browse files Browse the repository at this point in the history
  • Loading branch information
PopcornFX Bot committed Feb 8, 2024
1 parent 74688c9 commit 9a8e251
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Download_SDK_Desktop.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setlocal

bitsadmin /reset
bitsadmin /create third_party_download_desktop
bitsadmin /addfile third_party_download_desktop https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.18.4_Win64_Linux64_Mac64.7z "%~dp0\_PopcornFX_Runtime_SDK_Desktop.7z"
bitsadmin /addfile third_party_download_desktop https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.18.5_Win64_Linux64_Mac64.7z "%~dp0\_PopcornFX_Runtime_SDK_Desktop.7z"
bitsadmin /setpriority third_party_download_desktop "FOREGROUND"
bitsadmin /resume third_party_download_desktop

Expand Down
2 changes: 1 addition & 1 deletion Download_SDK_Mobile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setlocal

bitsadmin /reset
bitsadmin /create third_party_download_mobile
bitsadmin /addfile third_party_download_mobile https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.18.4_iOS_Android.7z "%~dp0\_PopcornFX_Runtime_SDK_Mobile.7z"
bitsadmin /addfile third_party_download_mobile https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.18.5_iOS_Android.7z "%~dp0\_PopcornFX_Runtime_SDK_Mobile.7z"
bitsadmin /setpriority third_party_download_mobile "FOREGROUND"
bitsadmin /resume third_party_download_mobile

Expand Down
4 changes: 2 additions & 2 deletions PopcornFX.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 21804,
"VersionName": "2.18.4",
"Version": 21805,
"VersionName": "2.18.5",
"FriendlyName": "PopcornFX",
"Description": "PopcornFX Realtime Particle Solution integration into Unreal Engine",
"Category": "PopcornFX",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Unreal Engine PopcornFX Plugin

Integrates the **PopcornFX Runtime SDK** into **Unreal Engine 4** and **Unreal Engine 5** as a Plugin.
* **Version:** `v2.18.4`
* **Version:** `v2.18.5`
* **Unreal Engine:** `4.27`, `5.1`, `5.2` and `5.3`
* **Supported platforms:** `Windows`, `MacOS`, `Linux`, `iOS`, `Android`, `PS4`, `PS5`, `XboxOne`, `Xbox Series`, `Switch`

Expand Down
14 changes: 14 additions & 0 deletions Source/PopcornFX/Private/Attributes/PopcornFXAttributeList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,20 @@ UPopcornFXAttributeSampler *FPopcornFXSamplerDesc::ResolveAttributeSampler(UPop
FObjectPropertyBase *prop = FindFProperty<FObjectPropertyBase>(parentActor->GetClass(), m_AttributeSamplerComponentProperty);
if (prop != null)
attrib = Cast<UPopcornFXAttributeSampler>(prop->GetObjectPropertyValue_InContainer(parentActor));
else
{
// If we can't find it in the properties, try and find it in the actor components.
TArray<UActorComponent *> components;
parentActor->GetComponents(UPopcornFXAttributeSampler::StaticClass(), components, false);
for (UActorComponent *component : components)
{
if (component->GetFName() == m_AttributeSamplerComponentProperty)
{
attrib = Cast<UPopcornFXAttributeSampler>(component);
break;
}
}
}
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion Source/PopcornFX/Public/PopcornFXVersionGenerated.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

#define POPCORNFX_PLUGIN_VERSION_MAJOR 2
#define POPCORNFX_PLUGIN_VERSION_MINOR 18
#define POPCORNFX_PLUGIN_VERSION_PATCH 4
#define POPCORNFX_PLUGIN_VERSION_PATCH 5
#define POPCORNFX_PLUGIN_VERSION_TAG ""

0 comments on commit 9a8e251

Please sign in to comment.