Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi all,
So I stumbled across a bizarre bug (?). On the InitValues() function for my GeDialog I noticed that setting a ComboBox to the default value always returns false, even though it clearly works in the GUI. This is a bit annoying since I'm trying to maintain defensive programming. Am I going wrong somewhere or is this a bug with the API itself? The code is below along with a link the file on GitHub (the project is open source if you need to look around).
if(!this->SetInt32(CBX_COORDINATE_SYSTEM, CBO_Y_UP)) return false;
CBX_COORDINATE_SYSTEM exists in c4d_symbols.h as does CBO_Y_UP.
https://github.com/xNWP/HLAELiveLink/blob/687e07ae56e2fe60869fde717054f6e75a3825ef/source/hll_gui.cpp#L27
Thanks in advanced!
Hi,
I can reproduce this behavior and indeed it looks like a bug. Sorry for the inconvenience. I filed a bug for our development. As far as I can see, it's really just the return value being wrong, so you should be fine by ignoring it until there is a fix.
Cheers, Andreas
@a_block
No inconvenience at all, just happy to hear it's not only me!