Алексей Ванжула

vux

About Me

Expertise
Developer
Location
Not Specified

Connect

Recent Forum Posts

Python Viewer States Issues Dec. 15, 2019, 2:32 p.m.

Another problem. The stroke_demo.hip example works much slower then in H17.5.

Python Viewer States Issues Dec. 15, 2019, 8:30 a.m.

I have solve the problem myself

def onGenerate(self, kwargs):
    kwargs['state_flags']['mouse_drag'] = True

Anyway, according to the documentation:
Mouse drag events are generated by default (True)

this value have to be True by default, but in fact it is not.

Python Viewer States Issues Dec. 15, 2019, 8:12 a.m.

I decided to post python viewer states problems in this thread.

In H17.5, after activation with onResume method, the state continues to generate the mouse move event (hou.uiEventReason.Located). But in H18 this type of event stops happening.

Test build: Houdini 18.0.318 Linux version