Vadim Berezniker wrote:
BoolProperty *prop = object_prop_by_name(obj_copy, "can_parent");
if(prop)
printf("val: %d\n", prop -> bool_data);
It always prints "0" regardless of what the actual value is.
I have defined the 'can_parent' property in the object that is being
checked. I can toggle the property in the properties dialog, but trying
to retrieve that property always returns 0 for the boolean value.
Anybody know the answer?
It's kind of important =/
_______________________________________________
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia