overte-AleziaKurdis/libraries
Anthony Thibault 865a77ae20 Model: fixed two crash issues when changing avatars
* When the GeometryReader has the last ref to the GeometryResource ptr
  It needs to hold on to the reference until invokeMethod is completed.
  Otherwise, invokeMethod will call a method on a deleted object, leading
  to memory corruption or crashes.

* When the Model URL is changed, the clusterMatrices are invalided and the
  RenderItemsSets are cleared.  However, there still might be renderItems in
  the scene pending changes list that might refer to those RenderItems and their
  clusterMatrices.  We need to guard against this access to prevent reading from
  memory that was previously freed.

Both of these issues were uncovered using the [avatar-thrasher](https://gist.github.com/hyperlogic/d82a61d141df43d576428501a82c5ee6) test script.
2016-04-02 21:48:22 -07:00
..
animation Release texs when models are cached 2016-03-31 17:02:40 -07:00
audio Merge pull request #7535 from birarda/suppress-more 2016-04-01 13:04:32 -07:00
audio-client PR comments 2016-03-31 13:19:26 -07:00
auto-updater
avatars fix to default avatar model 2016-03-22 11:32:38 -07:00
controllers Update to latest Oculus SDK, add input device support 2016-03-30 10:40:28 -07:00
display-plugins Add debugging output, fix timewarp 2016-03-30 10:40:32 -07:00
embedded-webserver
entities Guard model texs 2016-03-30 14:11:45 -07:00
entities-renderer Avoid recreating model items when adding to scene 2016-03-31 10:46:51 -07:00
fbx Check results of qUncompress, and catch fbx reader throws in utility 2016-03-30 16:56:39 -07:00
gl Check for valid qml gl context creation 2016-03-30 15:11:54 -07:00
gpu Set texture size in cache post-proc 2016-03-31 17:02:40 -07:00
input-plugins
model Merge branch 'master' into tony/animated-culling 2016-03-28 19:58:38 -07:00
model-networking Model: fixed two crash issues when changing avatars 2016-04-02 21:48:22 -07:00
networking Merge pull request #7532 from Atlante45/feat/delayed-decrease 2016-04-01 18:07:43 -07:00
octree Make svo loading use ResourceManager 2016-03-28 18:07:48 -07:00
physics don't verify simulated bit when adding to delete list 2016-03-24 21:12:22 -07:00
plugins Add automatic switching the Oculus headphones and mic when activating the plugin 2016-03-31 10:33:11 -07:00
procedural Clarify use of procedural's dirty atomic flag 2016-03-15 10:51:55 -07:00
recording Release texs when models are cached 2016-03-31 17:02:40 -07:00
render Merge pull request #7516 from hyperlogic/tony/show-collision-geometry-crash-fix 2016-03-30 16:48:07 -07:00
render-utils Model: fixed two crash issues when changing avatars 2016-04-02 21:48:22 -07:00
script-engine fix display of path of selected file in running-scripts window 2016-04-01 12:05:49 -07:00
shared include script in default script location 2016-04-01 10:50:22 -07:00
ui Fix passing of simple string message types from QML to scripts 2016-04-01 11:04:01 -07:00