remove dconfig reference

This commit is contained in:
David Rose 2009-06-16 18:49:39 +00:00
parent a89cc7d492
commit d3d3df5c5c
2 changed files with 5 additions and 4 deletions

View File

@ -31,12 +31,12 @@ ConfigureFn(config_softegg) {
// Should we respect the Soft? double-sided flag (true) or ignore it
// and assume everything is single-sided (false)?
const bool soft_default_double_sided = config_softegg.GetBool("soft-default-double-sided", false);
ConfigVariableBool soft_default_double_sided("soft-default-double-sided", false);
// Should we apply vertex color even when a texture is applied (true)
// or only when no texture is applied or the vertex-color egg flag is
// set (false)?
const bool soft_default_vertex_color = config_softegg.GetBool("soft-default-vertex-color", true);
ConfigVariableBool soft_default_vertex_color("soft-default-vertex-color", true);
////////////////////////////////////////////////////////////////////
// Function: init_libsoftegg

View File

@ -17,11 +17,12 @@
#include "pandatoolbase.h"
#include "notifyCategoryProxy.h"
#include "configVariableBool.h"
NotifyCategoryDeclNoExport(softegg);
extern const bool soft_default_double_sided;
extern const bool soft_default_vertex_color;
extern ConfigVariableBool soft_default_double_sided;
extern ConfigVariableBool soft_default_vertex_color;
extern void init_libsoftegg();