Bram Stolk

bram_stolk

About Me

Sr Software Engineer with Walt Disney Animation Studios.

Connect

LOCATION
Vancouver, Canada
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

[HDK] DM_VPortAgent::requestRedraw() crash. Aug. 6, 2024, 1:12 p.m.

I am calling
DM_VPortAgent::requestRedraw()
and that causes a crash in:

AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__GI___sigaction <libc.so.6>
UI_Object::distributeEvent(UI_Event*, int) <libHoudiniUI.so>
UI_Value::changed(UI_Object*, UI_Reason, UI_DeviceEvent*) <libHoudiniUI.so>
DM_VPortAgent::requestDraw() <libcrowd_preview.so>

That function is implemented in a header file, so we have the implementation:
    void		 requestDraw() { myRedrawNotify.changed(nullptr); }

I am calling it from
    bool DM_MouseEventHook::handleDoubleClickEvent(const DM_MouseHookData& hook_data, UI_Event* event);

Are deferred draw requests allowed from mouse event handlers?

[HDK] How to display message? July 31, 2024, 11:31 a.m.

I've found that the use of `hou.ui().displayMessage()` can crash when called from a `DM_SceneRenderHook` render function.

Initial values for scriptMenuStripRadio items in custom menu April 25, 2024, 4:07 p.m.

Did you ever figure this out?

I am hitting the same thing, and none of the radio buttons is selected, which should never happen of course, as by definition, a radio button always has 1 selected.