Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StudyFramework Plugin
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Plugins
StudyFramework Plugin
Commits
9b8216b2
Commit
9b8216b2
authored
Mar 23, 2024
by
Jonathan Ehret
Browse files
Options
Downloads
Patches
Plain Diff
bugfix to prevent studysetup.json from being accidently overwritten
parent
796ded2b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/StudyFrameworkPlugin/Private/SFStudySetup.cpp
+9
-3
9 additions, 3 deletions
Source/StudyFrameworkPlugin/Private/SFStudySetup.cpp
with
9 additions
and
3 deletions
Source/StudyFrameworkPlugin/Private/SFStudySetup.cpp
+
9
−
3
View file @
9b8216b2
...
...
@@ -101,10 +101,16 @@ void ASFStudySetup::PreSave(const ITargetPlatform* TargetPlatform)
#if WITH_EDITOR
void
ASFStudySetup
::
PostEditChangeProperty
(
FPropertyChangedEvent
&
MovieSceneBlends
)
{
// PostEditChangeProperty() is called twice when actor is drag-'n'-dropped into level because:
// First a preview actor with transient values is created when dragging out of list
// Then the final actor is created once dropped into map.
// We only want to execute the code for the latter actor -> Workaround:
if
(
!
HasAllFlags
(
RF_Transient
))
{
//Re-enabled to avoid accidental data loss
SaveToJson
();
Super
::
PostEditChangeProperty
(
MovieSceneBlends
);
}
}
#endif
USFStudyPhase
*
ASFStudySetup
::
AddStudyPhase
(
FString
InPhaseName
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment