Move comment
This commit is contained in:
@@ -23,6 +23,7 @@ from lslopt.lslcommon import Key, Vector, Quaternion, nr
|
|||||||
from lslopt import lslfuncs
|
from lslopt import lslfuncs
|
||||||
|
|
||||||
SensorFunctions = {'llSensor', 'llSensorRepeat'}
|
SensorFunctions = {'llSensor', 'llSensorRepeat'}
|
||||||
|
# not sure about llRemoteDataReply but let's fall on the safe side
|
||||||
NoKeyOptimizationFunctions = {'llMessageLinked', 'llRemoteDataReply'}
|
NoKeyOptimizationFunctions = {'llMessageLinked', 'llRemoteDataReply'}
|
||||||
|
|
||||||
def OptimizeArgs(node, sym):
|
def OptimizeArgs(node, sym):
|
||||||
@@ -43,7 +44,6 @@ def OptimizeArgs(node, sym):
|
|||||||
params[4].value = 4.0
|
params[4].value = 4.0
|
||||||
|
|
||||||
types = sym['ParamTypes']
|
types = sym['ParamTypes']
|
||||||
# not too sure about llRemoteDataReply but let's fall on the safe side
|
|
||||||
if name not in NoKeyOptimizationFunctions:
|
if name not in NoKeyOptimizationFunctions:
|
||||||
# Transform invalid/null keys to "" with the exceptions above,
|
# Transform invalid/null keys to "" with the exceptions above,
|
||||||
# e.g. llGetOwnerKey(NULL_KEY) -> llGetOwnerKey("")
|
# e.g. llGetOwnerKey(NULL_KEY) -> llGetOwnerKey("")
|
||||||
|
|||||||
Reference in New Issue
Block a user