Add new property to UserDef properties

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

pistolario
Posts: 1
Joined: Wed Sep 05, 2012 2:53 pm
Location: Spain

Add new property to UserDef properties

Postby pistolario » Wed Sep 05, 2012 3:01 pm

Hi!
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?

Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 2 guests