Bram Stolk

bram_stolk

About Me

Sr Software Engineer with Walt Disney Animation Studios.

Connect

LOCATION
Vancouver, Canada
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

[HDK] DM_VPortAgent::requestRedraw() crash. 2024年8月6日13:12

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? 2024年7月31日11:31

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 2024年4月25日16:07

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.