mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:36:44 +02:00
update test to reflect support for scriptWarningMessage and scriptInfoMessage
This commit is contained in:
parent
6cb95b2393
commit
deeb9c367a
1 changed files with 3 additions and 6 deletions
|
@ -14,15 +14,12 @@ function main() {
|
||||||
|
|
||||||
// note: these trigger the equivalent of an emit
|
// note: these trigger the equivalent of an emit
|
||||||
Script.printedMessage('[Script.printedMessage] hello world', '{filename}');
|
Script.printedMessage('[Script.printedMessage] hello world', '{filename}');
|
||||||
|
Script.infoMessage('[Script.infoMessage] hello world', '{filename}');
|
||||||
|
Script.warningMessage('[Script.warningMessage] hello world', '{filename}');
|
||||||
Script.errorMessage('[Script.errorMessage] hello world', '{filename}');
|
Script.errorMessage('[Script.errorMessage] hello world', '{filename}');
|
||||||
|
|
||||||
{
|
{
|
||||||
// FIXME: while not directly related to Script.print, these currently don't
|
// FIXME: these only show up in the application debug log
|
||||||
// show up at all in the "HMD-friendly script log" or "Console..."
|
|
||||||
|
|
||||||
Script.infoMessage('[Script.infoMessage] hello world', '{filename}');
|
|
||||||
Script.warningMessage('[Script.warningMessage] hello world', '{filename}');
|
|
||||||
|
|
||||||
Vec3.print('[Vec3.print]', Vec3.HALF);
|
Vec3.print('[Vec3.print]', Vec3.HALF);
|
||||||
|
|
||||||
var q = Quat.fromPitchYawRollDegrees(45, 45, 45);
|
var q = Quat.fromPitchYawRollDegrees(45, 45, 45);
|
||||||
|
|
Loading…
Reference in a new issue