Files
UnrealEngineUWP/Engine/Source/Developer/CollectionManager/Private/CollectionConfig.h
logan buchy fc5a347b6e Add EditorSetting to configure the auto-commit behaviour when collections are modified
* SCC operations can be quite slow in some cases - the auto-checkin behaviour results in a large amount of productivity loss and a stall of the editor waiting for SCC server to respond
* Add an option to disable the auto-commit behaviour if required.  Users would be manually required to commit the .collection file.

#jira UE-155132
#preflight 64557ee64574b81df40fbd0c
#rb Ronald.Koppers

[CL 25418212 by logan buchy in ue5-main branch]
2023-05-10 17:59:59 -04:00

19 lines
536 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "CollectionConfig.generated.h"
#pragma once
UCLASS(minimalapi, config=EditorSettings, meta=(DisplayName = "Collections", ToolTip="Settings to tweak the behaviour of collections in the editor"))
class UCollectionConfig : public UObject
{
GENERATED_BODY()
public:
/** When enabled, Shared and Private collections will automatically commit their changes to source control */
UPROPERTY(config)
bool bAutoCommitOnSave = true;
};