mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
snapshot fix
This commit is contained in:
parent
f0238ec4d7
commit
5ff91c018b
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ PreferencesDialog {
|
||||||
id: root
|
id: root
|
||||||
objectName: "AvatarPreferencesDialog"
|
objectName: "AvatarPreferencesDialog"
|
||||||
title: "Avatar Settings"
|
title: "Avatar Settings"
|
||||||
showCategories: [ "Avatar Basics", "Snapshots", "Avatar Tuning", "Avatar Camera" ]
|
showCategories: [ "Avatar Basics", "Avatar Tuning", "Avatar Camera" ]
|
||||||
property var settings: Settings {
|
property var settings: Settings {
|
||||||
category: root.objectName
|
category: root.objectName
|
||||||
property alias x: root.x
|
property alias x: root.x
|
||||||
|
|
|
@ -104,7 +104,7 @@ void setupPreferences() {
|
||||||
{
|
{
|
||||||
auto getter = []()->bool { return SnapshotAnimated::alsoTakeAnimatedSnapshot.get(); };
|
auto getter = []()->bool { return SnapshotAnimated::alsoTakeAnimatedSnapshot.get(); };
|
||||||
auto setter = [](bool value) { SnapshotAnimated::alsoTakeAnimatedSnapshot.set(value); };
|
auto setter = [](bool value) { SnapshotAnimated::alsoTakeAnimatedSnapshot.set(value); };
|
||||||
preferences->addPreference(new CheckPreference(SNAPSHOTS, "Take Animated GIF Snapshot with HUD Button", getter, setter));
|
preferences->addPreference(new CheckPreference(SNAPSHOTS, "Take Animated GIF Snapshot with tablet button", getter, setter));
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
auto getter = []()->float { return SnapshotAnimated::snapshotAnimatedDuration.get(); };
|
auto getter = []()->float { return SnapshotAnimated::snapshotAnimatedDuration.get(); };
|
||||||
|
|
Loading…
Reference in a new issue