mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:10:49 +02:00
Merge branch 'master' of http://github.com/highfidelity/hifi into shadow
This commit is contained in:
commit
933a2eb2cf
4 changed files with 8 additions and 3 deletions
|
@ -22,7 +22,7 @@ macro(optional_win_executable_signing)
|
||||||
# setup a post build command to sign the executable
|
# setup a post build command to sign the executable
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME} POST_BUILD
|
TARGET ${TARGET_NAME} POST_BUILD
|
||||||
COMMAND ${SIGNTOOL_EXECUTABLE} sign /fd sha256 /f %HF_PFX_FILE% /p %HF_PFX_PASSPHRASE% /tr http://tsa.starfieldtech.com /td SHA256 ${EXECUTABLE_PATH}
|
COMMAND ${SIGNTOOL_EXECUTABLE} sign /fd sha256 /f %HF_PFX_FILE% /p %HF_PFX_PASSPHRASE% /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td SHA256 ${EXECUTABLE_PATH}
|
||||||
)
|
)
|
||||||
else ()
|
else ()
|
||||||
message(FATAL_ERROR "HF_PFX_PASSPHRASE must be set for executables to be signed.")
|
message(FATAL_ERROR "HF_PFX_PASSPHRASE must be set for executables to be signed.")
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
; The Inner invocation has written an uninstaller binary for us.
|
; The Inner invocation has written an uninstaller binary for us.
|
||||||
; We need to sign it if it's a production or PR build.
|
; We need to sign it if it's a production or PR build.
|
||||||
!if @PRODUCTION_BUILD@ == 1
|
!if @PRODUCTION_BUILD@ == 1
|
||||||
!system '"@SIGNTOOL_EXECUTABLE@" sign /fd sha256 /f %HF_PFX_FILE% /p %HF_PFX_PASSPHRASE% /tr http://tsa.starfieldtech.com /td SHA256 $%TEMP%\@UNINSTALLER_NAME@' = 0
|
!system '"@SIGNTOOL_EXECUTABLE@" sign /fd sha256 /f %HF_PFX_FILE% /p %HF_PFX_PASSPHRASE% /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td SHA256 $%TEMP%\@UNINSTALLER_NAME@' = 0
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
; Good. Now we can carry on writing the real installer.
|
; Good. Now we can carry on writing the real installer.
|
||||||
|
|
|
@ -66,7 +66,7 @@ OffscreenSurface::OffscreenSurface()
|
||||||
}
|
}
|
||||||
|
|
||||||
OffscreenSurface::~OffscreenSurface() {
|
OffscreenSurface::~OffscreenSurface() {
|
||||||
delete _sharedObject;
|
_sharedObject->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {
|
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {
|
||||||
|
|
|
@ -44,6 +44,11 @@ void Space::processResets(const Transaction::Resets& transactions) {
|
||||||
for (auto& reset : transactions) {
|
for (auto& reset : transactions) {
|
||||||
// Access the true item
|
// Access the true item
|
||||||
auto proxyID = std::get<0>(reset);
|
auto proxyID = std::get<0>(reset);
|
||||||
|
|
||||||
|
// Guard against proxyID being past the end of the list.
|
||||||
|
if (proxyID < 0 || proxyID >= (int32_t)_proxies.size() || proxyID >= (int32_t)_owners.size()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
auto& item = _proxies[proxyID];
|
auto& item = _proxies[proxyID];
|
||||||
|
|
||||||
// Reset the item with a new payload
|
// Reset the item with a new payload
|
||||||
|
|
Loading…
Reference in a new issue