|
|
@@ -102,6 +102,19 @@ set_string_value(const string &string_value) {
|
|
|
_core->make_local_value()->set_string_value(string_value);
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: ConfigVariable::clear_value
|
|
|
+// Access: Published
|
|
|
+// Description: Removes the value assigned to this variable, and lets
|
|
|
+// its original value (as read from the prc files) show
|
|
|
+// through.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE void ConfigVariable::
|
|
|
+clear_value() {
|
|
|
+ nassertv(_core != (ConfigVariableCore *)NULL);
|
|
|
+ _core->clear_local_value();
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: ConfigVariable::get_num_words
|
|
|
// Access: Published
|