mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 10:08:20 +02:00
Merge pull request #334 from jug007/master
Change standard snapshot name to vircadia
This commit is contained in:
commit
0e914c6bbc
2 changed files with 5 additions and 5 deletions
|
@ -325,7 +325,7 @@ public slots:
|
|||
* @param {number} [aspectRatio=0] - The width/height ratio of the snapshot required. If the value is <code>0</code>, the
|
||||
* full resolution is used (window dimensions in desktop mode; HMD display dimensions in HMD mode), otherwise one of the
|
||||
* dimensions is adjusted in order to match the aspect ratio.
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user
|
||||
* name>-on-YYYY-MM-DD_HH-MM-SS".
|
||||
* <p>Still images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>,
|
||||
* <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of
|
||||
|
@ -364,7 +364,7 @@ public slots:
|
|||
* @function Window.takeSecondaryCameraSnapshot
|
||||
* @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken}
|
||||
* signal.
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user
|
||||
* name>-on-YYYY-MM-DD_HH-MM-SS".
|
||||
* <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>,
|
||||
* <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of
|
||||
|
@ -383,7 +383,7 @@ public slots:
|
|||
* otherwise it is saved as an equirectangular image.
|
||||
* @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken}
|
||||
* signal.
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user
|
||||
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user
|
||||
* name>-on-YYYY-MM-DD_HH-MM-SS".
|
||||
* <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>,
|
||||
* <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
#include "Snapshot.h"
|
||||
#include "SnapshotUploader.h"
|
||||
|
||||
// filename format: hifi-snap-by-%username%-on-%date%_%time%_@-%location%.jpg
|
||||
// filename format: vircadia-snap-by-%username%-on-%date%_%time%_@-%location%.jpg
|
||||
// %1 <= username, %2 <= date and time, %3 <= current location
|
||||
const QString FILENAME_PATH_FORMAT = "hifi-snap-by-%1-on-%2.jpg";
|
||||
const QString FILENAME_PATH_FORMAT = "vircadia-snap-by-%1-on-%2.jpg";
|
||||
const QString DATETIME_FORMAT = "yyyy-MM-dd_hh-mm-ss";
|
||||
const QString SNAPSHOTS_DIRECTORY = "Snapshots";
|
||||
const QString URL = "highfidelity_url";
|
||||
|
|
Loading…
Reference in a new issue