Page 1 of 1

Color picker bug starting mxed from max

Posted: Thu Sep 06, 2012 9:43 pm
by Fernando Tella
I found a small but annoying bug. When starting mxed from max's material editor and trying to use color picker from a color chip, the color picker does nothing and blocks everything. It doesn't pick anything but cannot get out of it.

I'm using it from 3dsmax 2012 and last version of plugin and Maxwell.

Re: Color picker bug starting mxed from max

Posted: Mon Sep 10, 2012 6:53 pm
by Fernando Tella
Nobody noticed it?

Re: Color picker bug starting mxed from max

Posted: Mon Sep 10, 2012 7:39 pm
by Mihnea Balta
I'm afraid there's no easy fix for this. The problem has always existed, it's because Max is waiting for MXED to finish. When you use the picker, MXED sends a message to Max asking for the color where you clicked, but Max cannot answer because it's waiting for MXED. Both programs are stuck and you have to kill one of them (this is called a deadlock).

The only solution would be to make MXED non-blocking, but then it becomes possible to delete a material in Max while it's being edited or other such corner cases which are not easy to detect and would probably crash Max.

Re: Color picker bug starting mxed from max

Posted: Mon Sep 10, 2012 8:15 pm
by Fernando Tella
Got it. Thanks for the info.