[Bf-taskforce25] G.f and other globals

Brecht Van Lommel brecht at blender.org
Fri Dec 19 22:04:50 CET 2008


Hi,

It would be good to remove things like G.f, G.flags and G.fileflags,
however the solution to those is not a single replacement variable,
otherwise we're just moving the mess. And we don't have to fix this all
immediately, we should remove global variables and flags incrementally.

For part of these I'd like to introduce a MainSettings struct in Main,
which would contain file wide settings that are saved to file.

http://wiki.blender.org/index.php/BlenderDev/Blender2.5/GlobalsBadCalls#File_Wide_Settings

What do you think, good idea, bad idea?

Brecht




More information about the Bf-taskforce25 mailing list