Jump to content

World Clutter mask editing fails in 2.6.1.1


photo

Recommended Posts

Attempting to use Editor 1 to modify a World Clutter mask in Unigine 2.6.1.1 results in nothing happening... except for a bunch of red error messages in the log/console ;).

The issue appears to be at lines 487 (shown below) and 490 of editor_mask.h. It seems that the usage of call() is hiding the change to the arity of setMaskImage(), which now uses two arguments.

shared_node.call("setMaskImage",mask);

Adding the additional parameter, set to its default value, fixes the issue:

shared_node.call("setMaskImage",mask,1);

I haven't checked to see if similar issues exist elsewhere in the code base, but I guess it's possible.

Link to comment
13 hours ago, morbid said:

As I see, you've found a workaround. Do you need any help with this issue for now?

Good to hear that you found it! I don't believe we need any further help, unless there are related issues that we should patch?

Link to comment
×
×
  • Create New...