diff --git a/BUILD_LINUX.md b/BUILD_LINUX.md
index 64c0e9a643..417ed9b8de 100644
--- a/BUILD_LINUX.md
+++ b/BUILD_LINUX.md
@@ -14,8 +14,8 @@ Should you choose not to install Qt5 via a package manager that handles dependen
Install qt:
```bash
-wget http://debian.highfidelity.com/pool/h/hi/hifi-qt5.10.1_5.10.1_amd64.deb
-sudo dpkg -i hifi-qt5.10.1_5.10.1_amd64.deb
+wget http://debian.highfidelity.com/pool/h/hi/hifiqt5.10.1_5.10.1_amd64.deb
+sudo dpkg -i hifiqt5.10.1_5.10.1_amd64.deb
```
Install build dependencies:
diff --git a/assignment-client/src/assets/AssetServer.cpp b/assignment-client/src/assets/AssetServer.cpp
index 23df64be2e..b8c4629b90 100644
--- a/assignment-client/src/assets/AssetServer.cpp
+++ b/assignment-client/src/assets/AssetServer.cpp
@@ -61,13 +61,13 @@ static const ScriptBakeVersion CURRENT_SCRIPT_BAKE_VERSION = (ScriptBakeVersion)
BakedAssetType assetTypeForExtension(const QString& extension) {
auto extensionLower = extension.toLower();
if (BAKEABLE_MODEL_EXTENSIONS.contains(extensionLower)) {
- return Model;
+ return BakedAssetType::Model;
} else if (BAKEABLE_TEXTURE_EXTENSIONS.contains(extensionLower.toLocal8Bit())) {
- return Texture;
+ return BakedAssetType::Texture;
} else if (BAKEABLE_SCRIPT_EXTENSIONS.contains(extensionLower)) {
- return Script;
+ return BakedAssetType::Script;
}
- return Undefined;
+ return BakedAssetType::Undefined;
}
BakedAssetType assetTypeForFilename(const QString& filename) {
@@ -82,11 +82,11 @@ BakedAssetType assetTypeForFilename(const QString& filename) {
QString bakedFilenameForAssetType(BakedAssetType type) {
switch (type) {
- case Model:
+ case BakedAssetType::Model:
return BAKED_MODEL_SIMPLE_NAME;
- case Texture:
+ case BakedAssetType::Texture:
return BAKED_TEXTURE_SIMPLE_NAME;
- case Script:
+ case BakedAssetType::Script:
return BAKED_SCRIPT_SIMPLE_NAME;
default:
return "";
@@ -95,11 +95,11 @@ QString bakedFilenameForAssetType(BakedAssetType type) {
BakeVersion currentBakeVersionForAssetType(BakedAssetType type) {
switch (type) {
- case Model:
+ case BakedAssetType::Model:
return (BakeVersion)CURRENT_MODEL_BAKE_VERSION;
- case Texture:
+ case BakedAssetType::Texture:
return (BakeVersion)CURRENT_TEXTURE_BAKE_VERSION;
- case Script:
+ case BakedAssetType::Script:
return (BakeVersion)CURRENT_SCRIPT_BAKE_VERSION;
default:
return 0;
@@ -222,7 +222,7 @@ bool AssetServer::needsToBeBaked(const AssetUtils::AssetPath& path, const AssetU
BakedAssetType type = assetTypeForFilename(path);
- if (type == Undefined) {
+ if (type == BakedAssetType::Undefined) {
return false;
}
@@ -241,7 +241,7 @@ bool AssetServer::needsToBeBaked(const AssetUtils::AssetPath& path, const AssetU
AssetMeta meta;
std::tie(loaded, meta) = readMetaFile(assetHash);
- if (type == Texture && !loaded) {
+ if (type == BakedAssetType::Texture && !loaded) {
return false;
}
@@ -1546,7 +1546,7 @@ bool AssetServer::setBakingEnabled(const AssetUtils::AssetPathList& paths, bool
auto it = _fileMappings.find(path);
if (it != _fileMappings.end()) {
auto type = assetTypeForFilename(path);
- if (type == Undefined) {
+ if (type == BakedAssetType::Undefined) {
continue;
}
QString bakedFilename = bakedFilenameForAssetType(type);
diff --git a/assignment-client/src/assets/AssetServer.h b/assignment-client/src/assets/AssetServer.h
index a55a15e6fc..fb88df0171 100644
--- a/assignment-client/src/assets/AssetServer.h
+++ b/assignment-client/src/assets/AssetServer.h
@@ -27,7 +27,7 @@ using BakeVersion = int;
static const BakeVersion INITIAL_BAKE_VERSION = 0;
static const BakeVersion NEEDS_BAKING_BAKE_VERSION = -1;
-enum BakedAssetType : int {
+enum class BakedAssetType : int {
Model = 0,
Texture,
Script,
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index fe00d86c3a..ac9441319b 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -180,8 +180,9 @@ else ()
add_executable(${TARGET_NAME} ${INTERFACE_SRCS} ${QM})
endif ()
+
if (BUILD_TOOLS AND NPM_EXECUTABLE)
- # require JSDoc to be build before interface is deployed (Console Auto-complete)
+ # require JSDoc to be build before interface is deployed
add_dependencies(resources jsdoc)
endif()
@@ -322,6 +323,13 @@ if (APPLE)
"${RESOURCES_DEV_DIR}/scripts"
)
+ # copy JSDoc files beside the executable
+ add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
+ COMMAND "${CMAKE_COMMAND}" -E copy_directory
+ "${CMAKE_SOURCE_DIR}/tools/jsdoc/out"
+ "${RESOURCES_DEV_DIR}/jsdoc"
+ )
+
# call the fixup_interface macro to add required bundling commands for installation
fixup_interface()
@@ -350,6 +358,13 @@ else()
"${RESOURCES_DEV_DIR}/serverless/tutorial.json"
)
+ # copy JSDoc files beside the executable
+ add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
+ COMMAND "${CMAKE_COMMAND}" -E copy_directory
+ "${CMAKE_SOURCE_DIR}/tools/jsdoc/out"
+ "${INTERFACE_EXEC_DIR}/jsdoc"
+ )
+
# link target to external libraries
if (WIN32)
target_link_libraries(${TARGET_NAME} wsock32.lib Winmm.lib)
diff --git a/interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.eot b/interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.eot
similarity index 82%
rename from interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.eot
rename to interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.eot
index d3591e6499..1be5435ced 100644
Binary files a/interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.eot and b/interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.eot differ
diff --git a/interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.svg b/interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.svg
similarity index 92%
rename from interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.svg
rename to interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.svg
index 43c4932879..c68cb63a0d 100644
--- a/interface/resources/fonts/hifi-glyphs/fonts/hifi-glyphs.svg
+++ b/interface/resources/fonts/hifi-glyphs-1.31/fonts/hifi-glyphs.svg
@@ -25,7 +25,6 @@
This font was created for use inHigh Fidelity
+This font was created for use in High Fidelity