Hey folks,
quick one....
i seam to have trouble in my input_label using std::strings
i have tried this now in different plugins so its not a crazy compile
related problem... nothing worked...
the classic input label looks something like this
const char * input_label( int n, char * ) const
{
if ( n == 0 )
return "some label";
if ( n == 1 )
return "some other label";
}
so far so good that works of course.
in my case i have std::strings with the label and the simplest test like
{
str::string foo = "test";
return foo.c_str();
}
results in a blank label.... sometimes i get a label but with stupid
characters...
why is that? Does not make much sense to me...
i am creating lots of custom inputs based on a Table_knob ( whch internally
uses std::string ) so i have not a lot of options.
Windows 7 nuke9
can anyone enlighten me?
jo
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev