simon.wade Posted January 31, 2018 Share Posted January 31, 2018 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
morbid Posted January 31, 2018 Share Posted January 31, 2018 Hello, Simon! Thanks for feedback. This bug was fixed in our internal version. As I see, you've found a workaround. Do you need any help with this issue for now? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
simon.wade Posted January 31, 2018 Author Share Posted January 31, 2018 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
morbid Posted February 5, 2018 Share Posted February 5, 2018 Well, looks like changing a couple of strings in .h file is enough. This file is also included in the hot fix i've sent you. Thank you for feedback! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts