From a89cc7d492516dc7e751590ab03c0644c7091ccf Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 16 Jun 2009 18:39:30 +0000 Subject: [PATCH] remove dconfig reference --- pandatool/src/mayaegg/config_mayaegg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pandatool/src/mayaegg/config_mayaegg.cxx b/pandatool/src/mayaegg/config_mayaegg.cxx index a567b6ba7c..6d751dda48 100644 --- a/pandatool/src/mayaegg/config_mayaegg.cxx +++ b/pandatool/src/mayaegg/config_mayaegg.cxx @@ -16,6 +16,7 @@ #include "mayaEggGroupUserData.h" #include "mayaNodeDesc.h" #include "mayaBlendDesc.h" +#include "configVariableBool.h" #include "dconfig.h" @@ -62,8 +63,8 @@ init_libmayaegg() { // For some reason, static init is not reliably running when this is // loaded as a plug-in of a plug-in. Initialize these explicitly // here. - maya_default_double_sided = config_mayaegg.GetBool("maya-default-double-sided", false); - maya_default_vertex_color = config_mayaegg.GetBool("maya-default-vertex-color", true); + maya_default_double_sided = ConfigVariableBool("maya-default-double-sided", false).get_value(); + maya_default_vertex_color = ConfigVariableBool("maya-default-vertex-color", true).get_value(); }