Skip to content

trigger_* methods should be protected against missing an UI context #2663

@mwestphal

Description

@mwestphal

Describe the bug
many trigger_* methods segfault if render() has not been called beforehand, lets fix that

To Reproduce
Steps to reproduce the behavior:

  1. In library/testing/TestSDKTriggerInteractions.cxx comment out engine.getWindow().render();
  2. build
  3. run ctest -R TestSDKTriggerInteractions
  4. Segfault

Expected behavior
No segfault but an error

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions