[bug?] jit.gl.node error message

Francois Weber's icon

Hi,

I want to send "drawto" message to change the jit.gl.node target.
All works fine but there is a bad message in the max window :
" method getname called on invalid object "

May be it's not the good way to do that ?????

Max Patch
Copy patch and select New From Clipboard in Max.

here is the patch (MBP retina, OS 10.8.4, Max 6.1.3) :

Thanks

Rob Ramirez's icon

i don't see anything wrong with what you're doing, so it looks like a bug.
seems to be harmless, so i wouldn't worry for now.

we'll take a look at the cause.
thanks for the report!

Francois Weber's icon

OK,
Thanks Rob ;-)

Francois Weber's icon

Hi,
The above patch doesn't work in Max7.0.4.... is it a bug ?
thanks

Rob Ramirez's icon

i can't reproduce. please send system specs and OS.

Francois Weber's icon

Hi Rob,

Sorry, i forgot to send this :
MPB Retina mid-2012, OSX 10.10.4, Max 7.0.4
the Jit.window stay black..... and no message in the max console window.

Thanks

LSka's icon

It works for me
Max 7.04
MBP Retina, Mid 2014 OSX 10.9

Rob Ramirez's icon

possibly a yosemite issue. will take a look when i get a chance.

Rob Ramirez's icon

in order to get this patch working on yosemite, you should remove the @shared_context attribute from jit.gl.render. this attribute is deprecated, and no longer needed to enable shared contexts. simply use @shared 1 on the jit.(p)windows that are sharing gl resources.

Francois Weber's icon

Thanks Rob !