Add new property to UserDef properties

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Wed Sep 05, 2012 2:53 pm
Location: Spain

Add new property to UserDef properties

Post by pistolario » Wed Sep 05, 2012 3:01 pm

For a little patch I'm coding, I have added a new field to UserDef struct,
defined new property in de SDNA part with a default value and added the field in the User Preferences window.

But, when I'm going to use the value, it's 0. But if I open the User preferences window and close it, without saving anything, suddenly the field gets the default value.

What step must I do?

Post Reply