Ryan Huffman
655636c44f
Remove redundant if block in AssetServer.cpp
2018-03-21 12:16:12 -07:00
John Conklin II
3937f43fa5
Merge pull request #12648 from SimonWalton-HiFi/serversExist-crash
...
EntityScriptServer should wait for script engine to complete for deleting itself
2018-03-21 11:19:50 -07:00
Simon Walton
4fd6eb559b
Remove dangling packet sender pointer before it's invalid.
2018-03-14 17:06:38 -07:00
Stephen Birarda
0c0ce1d6b8
Merge pull request #12508 from SimonWalton-HiFi/server-script
...
Stop server-script URLs when deleted from entity properties (case 11244)
2018-03-14 14:01:01 -07:00
Simon Walton
d67044f220
EntityScriptServer should wait for script engine to finish when stopping
...
Script engine will still running and using EntityEditPacketSender,
which is owned by EntityScriptServer, which was destroyed.
https://highfidelity.manuscript.com/f/cases/11071/
2018-03-14 13:32:48 -07:00
Ryan Huffman
0a00227ce3
Update message for failed bakes inside of AssetServer.cpp
2018-03-13 15:03:20 -07:00
Ryan Huffman
6ed89fb9cc
Cleanup asset server versioning changes
2018-03-13 14:52:35 -07:00
Ryan Huffman
df8a25cbdc
Add warning to AssetServer.h to update bake version in .cpp
2018-03-13 14:52:35 -07:00
Ryan Huffman
9a7497c9ec
Update AssetServer to check for baking disabled on startup
2018-03-13 14:52:35 -07:00
Ryan Huffman
0003a32701
Fix AssetServer not detecting missing bakeVersion
2018-03-13 14:52:35 -07:00
Ryan Huffman
e38ef699cc
Remove BakingVersion.h
2018-03-13 14:52:35 -07:00
Ryan Huffman
8a89e8f9fb
Remove BakedTypeInfo
2018-03-13 14:52:35 -07:00
Ryan Huffman
6f3155db32
Fix existing baked assets not being recognized
2018-03-13 14:52:35 -07:00
Ryan Huffman
6ac8cdecd1
Re-enable js baking
2018-03-13 14:52:35 -07:00
Ryan Huffman
091dae730b
Add versioning to Asset Server
2018-03-13 14:52:35 -07:00
Simon Walton
30206ff33e
Call killed-avatar slot directly rather than by signal
...
Rename nodeKilled slot to handleKilledAvatar since the node
isn't killed in this case and call directly from
handleKillAvatarPacket().
2018-03-06 12:28:55 -08:00
Simon Walton
8fb3015ec8
Fix for missing avatar on second replay
...
Fixes a logic problem in the handshake request handling; deals with
KillAvatar from the Agent by removing the node-linked data, not
the actual Node; tweaks some of the network debug output.
2018-03-05 16:51:05 -08:00
Ken Cooke
328b5a1e8b
Merge pull request #12479 from kencooke/audio-nearfield-hrtf
...
Near-field HRTF
2018-02-28 07:44:24 -08:00
Stephen Birarda
9cc348ef27
Merge branch 'master' of github.com:highfidelity/hifi into feat/content-settings
2018-02-27 09:59:37 -08:00
Simon Walton
051d4c0d35
Merge branch 'master' into server-script
2018-02-27 09:57:58 -08:00
Ken Cooke
cc7b9a254b
Optimized compute of distance attenuation
2018-02-27 09:02:03 -08:00
Ken Cooke
bb2f3cac2c
Use named constant for the onset of near-field corrections (1 meter)
2018-02-27 08:51:55 -08:00
Ryan Huffman
44f3b00a92
Merge pull request #12509 from huffman/feat/content-settings
...
Fix entity data not being stored when Id and DataVersion are null
2018-02-27 08:43:44 -08:00
Ryan Huffman
88931d9c95
Fix entity data not being stored when Id and DataVersion are null
2018-02-27 08:33:20 -08:00
John Conklin II
25144f0fec
Merge pull request #12456 from Atlante45/fix/min-spec-crash
...
Fix crash when passing --checkMinSpec flag
2018-02-26 17:35:46 -08:00
Stephen Birarda
2af0e5fc2b
Merge pull request #12501 from huffman/feat/content-settings
...
Code review changes
2018-02-26 17:58:08 -07:00
Ryan Huffman
ec210e1750
Move OctreeUtils to OctreeDataUtils
2018-02-26 16:51:42 -08:00
Ryan Huffman
3fa538d42d
Add RawEntityData subclass
2018-02-26 16:32:09 -08:00
Atlante45
3592fcf3c2
CR
2018-02-26 14:52:27 -08:00
Ryan Huffman
dbfbee5406
CR
2018-02-26 13:53:20 -08:00
Simon Walton
e81fba22ed
EntityServer should update a previously matched entity.
...
EntityServer currently keeps a per-Node set of entities that matched
the JSON filter. This commit will send an update for an entity that
no longer matches then remove it from the set.
https://highfidelity.fogbugz.com/f/cases/11244/
2018-02-26 13:43:35 -08:00
Ryan Huffman
c368c84f59
Make BakeAssetTask::abort thread-safe
2018-02-23 11:06:11 -08:00
Atlante45
c106fee659
Merge branch 'master' of https://github.com/highfidelity/hifi into feat/backups-integration
2018-02-22 19:45:43 -08:00
Stephen Birarda
a0f7d4dd34
use const auto & where possible as per CR comments
2018-02-22 18:08:08 -08:00
Atlante45
277e556b48
Create a standard function to init Hifi Apps
2018-02-22 17:06:09 -08:00
Stephen Birarda
d9d2b26519
delete baked content for unmapped files on AS startup
2018-02-22 16:55:35 -08:00
Atlante45
80c0f2a21e
Fix crash when passing --checkMinSpec flag
...
That flag caused a DLL to be loaded before Application was
instanced.
This triggers a Qt bug inside Q_COREAPP_STARTUP_FUNC that causes
the previous registration pointing the startup function in
the main executable to be overridden with the address of the
function in the DLL (Since they both link the same static
library)
This leads to the correct function running in the wrong address
space (the DLLs), hence not initializing some global variables
correctly.
2018-02-22 16:29:38 -08:00
Ken Cooke
f25b8e8df0
Refactor distance attenuation for near-field HRTF.
...
Adds near-field attenuation from 0.125m to 1m, calibrated to 0dB at 1m. Overload will trigger dynamic range compression at the peak-limiter.
2018-02-22 16:05:01 -08:00
Simon Walton
619901caa0
Move up main #include for other AudioMixer*
...
Having #include first will make more robust for MOC compile problems.
Also fixes previous commit to use <> form and correct case.
See Case 12527.
2018-02-21 11:12:09 -08:00
Simon Walton
16ffcc7fe2
Add #include of Forward.h to AudioMixer.h
...
This makes the compile by Qt MOC less dependent on order of processing.
See Manuscript case 12527.
2018-02-21 09:48:15 -08:00
Atlante45
f6e9d2c6dd
Fix race condition in Asset Server
2018-02-15 18:16:30 -08:00
Atlante45
4482f9c83c
Queue all requests until the AS is fully setup
2018-02-15 11:27:21 -08:00
Ryan Huffman
0bbbff95cd
Fix replacement octree data not working
2018-02-15 10:09:21 -08:00
Ryan Huffman
2a667fcd60
Cleanup entity -> ds persist
2018-02-15 10:09:21 -08:00
Ryan Huffman
1b7b4eee50
Fix entity data not being gzipped when adding id+version
2018-02-15 10:09:20 -08:00
Ryan Huffman
cb9327e030
Add entity file sync and domain content backups
2018-02-15 10:09:20 -08:00
Sam Gondelman
15cdfef16a
Merge branch 'master' into decals
2018-02-14 17:33:01 -08:00
Stephen Birarda
6ba2f4b279
Merge pull request #12286 from Atlante45/feat/asset-server-backup
...
Add asset server backups capabilities to the Domain Server
2018-02-13 17:40:11 -07:00
SamGondelman
4500ed17e7
merge from master
2018-02-13 13:58:39 -08:00
John Conklin II
d084e58f48
Merge pull request #12328 from Atlante45/fix/misc-bugs
...
Misc bug fixes
2018-02-12 14:31:38 -08:00
SamGondelman
9e8aa1898c
warnings, load material from URL, shapeID -> parentMaterialID
2018-02-12 12:50:09 -08:00
Atlante45
46449256ce
CR
2018-02-09 11:38:46 -08:00
Atlante45
87f77b6257
Asset Server Backup
2018-02-09 11:32:42 -08:00
Andrew Meadows
96c97547f9
Merge pull request #12205 from jherico/no_widgets
...
Remove some unneeded Qt dependencies
2018-02-05 15:32:54 -08:00
Atlante45
8ebb3e52d8
Misc bug fixes
2018-02-02 13:10:49 -08:00
Stephen Birarda
ffd10b79bf
refuse to handle positional audio streams with NaN position
2018-02-02 11:21:50 -08:00
David Rowe
280264d7ed
Add location.domainID as a synonym for location.domainId
...
And deprecate location.domainId.
2018-01-30 20:46:27 +13:00
MiladNazeri
9baf02b7a1
Merge pull request #12036 from humbletim/Leopoly_Phase1_003_Asset-Request
...
Leopoly_Phase1_003_Asset-Request
2018-01-29 11:40:41 -08:00
Brad Davis
0781d8eaf0
Remove some unneeded Qt dependencies
2018-01-28 22:18:24 -08:00
John Conklin II
4697c5f92c
Merge pull request #12225 from hyperlogic/bug-fix/sassy-avatar
...
Fix for avatars with crooked spine/head when exiting HMD mode
2018-01-22 11:50:44 -08:00
Anthony J. Thibault
cd4d9255bd
Added defaultPoseFlags to avatar protocol
...
Change rotationSet to rotationIsDefaultPose for JointData
Also for translation. Fixed all code to flip boolean value.
Created EntityJointData so that the ModelEntity stuff doesn't need to change.
2018-01-19 15:34:27 -08:00
humbletim
dfb1619dc6
CR feedback; using namespace AssetUtils => inline AssetUtils::
2018-01-18 21:49:53 -05:00
humbletim
49bb9420cc
Merge branch 'master' into Leopoly_Phase1_003_Asset-Request
2018-01-17 17:11:33 -05:00
Stephen Birarda
c90cdf52b4
remove unecessary parenting of Agent script engine
2018-01-17 11:02:56 -08:00
Sam Gateau
d4571bd86a
Merge pull request #12181 from humbletim/rename-model-graphics
...
Rename libraries/model -> libraries/graphics
2018-01-16 18:12:25 -08:00
Clément Brisset
858221d4db
Merge pull request #12118 from Atlante45/fix/avatar-mixer-crash
...
Fix concurrent access crash in avatar mixer
2018-01-16 11:07:59 -08:00
humbletim
08ccda9cfc
rename libraries/model(src/model) -> libraries/graphics(src/graphics)
2018-01-16 12:44:44 -05:00
Ken Cooke
7c5085bd24
Handle stereo changes while active, by restarting the codec on both ends
2018-01-11 16:10:50 -08:00
Ken Cooke
6a2e3cc272
Enable stereo codecs for AvatarAudioStream
2018-01-10 15:14:18 -08:00
Ken Cooke
660032d8fb
Fix bug in how emitAudioPacket() determines mono/stereo.
...
Compressed bytes were counted as if audio samples.
2018-01-10 06:54:27 -08:00
Ken Cooke
c363a9281e
Fix another bug in audio-mixer audio packet parsing.
...
For SilentAudioFrame packets, numSamples was being read as channel flag.
2018-01-09 16:54:14 -08:00
Ken Cooke
ad2a031060
Fix bug in audio-mixer audio packet parsing.
...
Codec string was being read as channel flag.
2018-01-09 16:44:48 -08:00
Atlante45
776a2e8373
Fix concurrent access crash in avatar mixer
2018-01-09 11:24:34 -08:00
humbletim
a863aec4a0
put existing AssetUtils functions in namespace per CR feedback
2018-01-03 04:01:43 -05:00
Atlante45
28f164d7e5
Remove legacy jurisdiction code
2017-12-29 12:46:52 -08:00
Stephen Birarda
e3cbfd92a0
Merge remote-tracking branch 'upstream/stable' into 61-1-merge-back
2017-12-22 15:48:04 -08:00
Stephen Birarda
18993a8f72
fix for AvatarData retrieval from SortableAvatar in PriorityQueue
2017-12-21 15:11:34 -08:00
Thijs Wenker
1bfb62bd7f
list assignment types in assignment-client help
2017-12-18 15:32:32 -08:00
Stephen Birarda
139976d8bb
allow staging METAVERSE_SERVER_URL to be toggled by env
2017-12-12 16:22:08 -08:00
Andrew Meadows
db6505493f
fix avatar-mixer crash: don't use global callback
2017-12-11 14:04:39 -08:00
divya
e187852df1
Merge pull request #11941 from huffman/feat/atp-baking-process
...
Move asset server baking to a separate process
2017-12-09 20:48:14 -08:00
Ryan Huffman
65649fc331
Remove _outputDir from BakeAssetTask
2017-12-08 17:56:33 -08:00
Ryan Huffman
5cf2ab5cbd
Remove unnecessary logging on BakeAssetTask
2017-12-08 17:53:49 -08:00
Ryan Huffman
239877fc18
Remove _didFinish from BakeAssetTask
2017-12-08 17:47:57 -08:00
Ryan Huffman
50c47c785d
Fix BakeAssetTask not handling case where oven process is not found
2017-12-08 17:45:42 -08:00
Ryan Huffman
94a58a2471
Remove baking dependency from assignment-client
2017-12-07 10:53:23 -08:00
Anthony J. Thibault
fbcecbfc89
Merge branch 'master' into feature/domain-limited-height
2017-12-07 10:01:33 -08:00
Ryan Huffman
2eecb41337
Update metatype registration in assetBakeTask
2017-12-06 13:59:46 -08:00
Ryan Huffman
6b098bfc6a
Fix aborted baking in oven cli
2017-12-06 13:51:31 -08:00
Ryan Huffman
cb9a30413d
Rename removeTemporaryDis to removeTemporaryApplicationDirs
2017-12-06 12:50:20 -08:00
Ryan Huffman
f20aa2e680
Fix asset server baking not working on *nix
2017-12-06 11:49:34 -08:00
Ryan Huffman
bee666b522
Add error text reading to asset server baking
2017-12-06 11:49:34 -08:00
Ryan Huffman
de7e3e60cd
Add temp dir removal to asset server
2017-12-06 11:49:34 -08:00
Ryan Huffman
7eb93f4777
Add oven as dep to assignment-client
2017-12-06 11:49:34 -08:00
Ryan Huffman
f3fc5769e8
Move asset baking on asset server to separate process
2017-12-06 11:49:19 -08:00
Andrew Meadows
eb120b1bc1
use correct timestamp of avatar's outgoin data
2017-11-30 11:03:27 -08:00
Andrew Meadows
e212ac67c1
enable custom avatar sort tuning
2017-11-28 11:30:06 -08:00
Andrew Meadows
e4436d264a
simplify for-loop format
2017-11-28 09:14:05 -08:00
Andrew Meadows
deccc54965
remove cruft
2017-11-28 09:14:05 -08:00
Andrew Meadows
e068eb879c
use PrioritySortUtil for outgoing avatar updates
2017-11-28 09:11:14 -08:00
Anthony J. Thibault
9f54ce55f3
Change domain setting from min/max avatar scale to min/max avatar height
...
* Domain settings version has been bumped from version 2.0 to 2.1
* Old domain settings for avatar scale will be auto-converted to avatar height
* Avatar code has been changed so that limitDomainScale() works with the new height limits
* Avatar getUnscaledEyeHeight() was added to C++.
* MyAvatar.getHeight() was added to JS.
2017-11-21 13:25:47 -08:00
ZappoMan
04ee1adabd
Merge branch 'master' of https://github.com/highfidelity/hifi into entityItemCleanup
2017-11-19 14:40:31 -08:00
Brad Hefta-Gaub
0678a7c9df
Merge pull request #11718 from kencooke/audio-louder-mastergain
...
Adjustable master avatar volume
2017-11-17 16:58:27 -08:00
Stephen Birarda
dd27e3db31
add diff traversal reset when resetting state
2017-11-17 09:44:35 -08:00
Stephen Birarda
eedb77dae9
add clearing of known state if client resets ES connection
2017-11-16 11:40:35 -08:00
Clément Brisset
2b39cb4500
Merge pull request #11832 from highfidelity/RC59
...
Merge RC59 into master
2017-11-16 11:19:54 -08:00
Atlante45
d8b1cb10df
CR
2017-11-15 11:20:30 -08:00
Stephen Birarda
557ee458ec
wait for node active socket before constructing packets
2017-11-14 17:08:01 -08:00
Ken Cooke
9810d1582d
CR fixes
2017-11-14 14:36:37 -08:00
Stephen Birarda
05a38a78c5
don't send octree data without first query
2017-11-14 14:08:27 -08:00
Atlante45
462ec30cac
Utilise Windows Job Object so child dies w/ parent
2017-11-14 11:41:43 -08:00
David Rowe
05275afb4f
Resending full scene is not necessary after all
2017-11-05 15:48:02 +13:00
David Rowe
a76b7855b5
Record only explicitly filtered-in entities for flagging extras
2017-11-05 15:03:43 +13:00
David Rowe
4a5f52155c
Pin node pointer
2017-11-05 14:33:30 +13:00
David Rowe
2d27a6cf4c
Merge branch 'master' into 21580
2017-11-05 13:59:43 +13:00
Ken Cooke
68e9ec9b23
Use qCDebug instead of qDebug in audio-mixer
2017-11-02 16:36:45 -07:00
Zach Fox
48979a5ce8
Merge pull request #11730 from zfox23/pop_avatarEntityTests
...
Commerce: Avatar Entity Tests
2017-11-02 15:34:37 -07:00
Stephen Birarda
25c10d5de2
Merge pull request #11735 from highfidelity/stable
...
Merge stable back into master
2017-11-02 14:22:31 -07:00
ZappoMan
afaad5fcd7
Merge branch 'master' of https://github.com/highfidelity/hifi into entityItemCleanup
2017-11-02 13:39:51 -07:00
Zach Fox
8a6a744099
It's working
2017-11-01 10:46:13 -07:00
David Rowe
328fc29bc5
Fix serverScripts not being able to see entities in parent/child tree
2017-11-01 17:01:19 +13:00
Zach Fox
e9c144892a
Fixes
2017-10-31 13:11:32 -07:00
Zach Fox
6f96e0c7bd
More progress
2017-10-31 12:14:12 -07:00
Zach Fox
90e9251176
It's a start
2017-10-31 11:28:19 -07:00
Ken Cooke
cfba6ae819
Implement master avatar gain in the audio-mixer
2017-10-31 11:18:03 -07:00
Zach Fox
19420a0ff2
Move static cert verify to properties
2017-10-30 17:01:55 -07:00
Ken Cooke
6ba2a83bbe
Send and receive Avatar MASTER Gain packets, signaled using null nodeID.
...
Packet protocol change is not needed (existing audio-mixer will ignore).
2017-10-29 10:47:56 -07:00
ZappoMan
a7a0f03ede
rename SpatiallyNestable::getPosition() to SpatiallyNestable::getWorldPosition()
2017-10-27 18:39:17 -07:00
Zach Fox
5ab737f66d
Merge pull request #11658 from zfox23/pop_dynamicTestsMaster
...
Commerce: Owner Verification for Certified Entities
2017-10-27 12:28:04 -07:00
Stephen Birarda
60fbbe4bc0
disable baking of JS files
2017-10-25 14:29:28 -07:00
Zach Fox
14150c09ac
Merge branch 'master' of https://github.com/highfidelity/hifi into stagingSetting
2017-10-25 12:59:36 -07:00
Zach Fox
91333cdf7b
Merge branch 'master' of https://github.com/highfidelity/hifi into pop_dynamicTestsMaster
2017-10-25 10:26:50 -07:00
ZappoMan
275fff4609
more CR feedback
2017-10-24 14:02:47 -07:00
Zach Fox
c64c2e17c8
First pass at consolidation
2017-10-24 12:01:05 -07:00
ZappoMan
a1885926b5
some cleanup
2017-10-24 11:46:42 -07:00
ZappoMan
1128a98e88
implement callEntityClientMethod
2017-10-24 11:15:57 -07:00
Zach Fox
3e139283ba
Remove unnecessary newlines
2017-10-23 17:31:21 -07:00
Zach Fox
97d44e62c8
Fix bugs
2017-10-23 16:52:32 -07:00
Zach Fox
53081b51a6
Clean up as much as possible
2017-10-23 16:00:39 -07:00
Zach Fox
cda43ec1ea
Merge branch 'master' of https://github.com/highfidelity/hifi into pop_dynamicTestsMaster
2017-10-23 11:52:59 -07:00
ZappoMan
a7e21d7e76
add remotelyCallable and remoteCallerID to provide additional security to Entities.callEntityServerMethod()
2017-10-22 14:30:58 -07:00
ZappoMan
fb7f6df694
CR feedback
2017-10-22 11:40:41 -07:00
ZappoMan
934c9479af
implement support for Entities.callEntityServerMethod()
2017-10-21 20:27:35 -07:00
Zach Fox
74180bc4cd
Implement static cert verification correctly
2017-10-19 16:39:13 -07:00
Zach Fox
952160874c
Stringmatch Domain ID instead of placename for DVV
2017-10-18 11:21:03 -07:00
Zach Fox
3f0b08aea8
Merge branch 'master' of https://github.com/highfidelity/hifi into pop_dynamicTestsMaster
2017-10-18 10:37:47 -07:00
Zach Fox
e1b0e5a2dd
Move some include files around
2017-10-16 16:00:32 -07:00
Zach Fox
a4b8bf0be6
Bugfixes and CR
2017-10-16 15:33:10 -07:00
Zach Fox
960f1fbfe4
Still broken, but safer
2017-10-16 13:28:14 -07:00
Zach Fox
febc725520
Merge branch 'RC-57' of https://github.com/highfidelity/hifi into pop_dynamicTests57
2017-10-16 09:53:15 -07:00