back out bad change

This commit is contained in:
Seth Alves 2017-09-21 11:39:14 -07:00
parent 24bfb3f3b9
commit 3c22c9ea3a
2 changed files with 3 additions and 1 deletions

View file

@ -299,6 +299,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
// activity-slots which this plugin consumes as "in use"
_this.runningPluginNames[orderedPluginName] = true;
_this.markSlots(candidatePlugin, orderedPluginName);
print("QQQQ running " + orderedPluginName);
}
if (PROFILE) {
Script.endProfileRange("dispatch.isReady." + orderedPluginName);
@ -331,6 +332,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
// of running plugins and mark its activity-slots as "not in use"
delete _this.runningPluginNames[runningPluginName];
_this.markSlots(plugin, false);
print("QQQQ stopping " + runningPluginName);
}
if (PROFILE) {
Script.endProfileRange("dispatch.run." + runningPluginName);

View file

@ -300,7 +300,7 @@ Script.include("/~/system/libraries/cloneEntityUtils.js");
if (targetCloneable) {
var worldEntityProps = controllerData.nearbyEntityProperties[this.hand];
var cloneID = cloneEntity(targetProps, worldEntityProps);
var cloneProps = controllerData.nearbyEntityPropertiesByID[cloneID];
var cloneProps = Entities.getEntityProperties(cloneID);
this.grabbing = true;
this.targetEntityID = cloneID;
this.startNearParentingGrabEntity(controllerData, cloneProps);