mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
back out bad change
This commit is contained in:
parent
24bfb3f3b9
commit
3c22c9ea3a
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue