Add validation for unsupported actor routine effects in scene controls
This commit is contained in:
@@ -3103,6 +3103,17 @@ function validateControlEffect(
|
||||
);
|
||||
}
|
||||
return;
|
||||
case "playActorAnimation":
|
||||
case "followActorPath":
|
||||
diagnostics.push(
|
||||
createDiagnostic(
|
||||
"error",
|
||||
"unsupported-scene-control-actor-routine-effect",
|
||||
"Actor animation and actor path routine effects are scheduler-owned in this slice and are not supported on scene interaction control actions.",
|
||||
`${path}.type`
|
||||
)
|
||||
);
|
||||
return;
|
||||
case "playModelAnimation": {
|
||||
const targetModelInstance =
|
||||
document.modelInstances[effect.target.modelInstanceId];
|
||||
|
||||
Reference in New Issue
Block a user