20void ConfigVariableSearchPath::
22 nassertv(_core !=
nullptr);
23 mark_cache_valid(_local_modified);
26 _cache.append_path(_prefix);
27 size_t num_unique_references = _core->get_num_unique_references();
28 for (
size_t i = 0; i < num_unique_references; i++) {
29 const ConfigDeclaration *decl = _core->get_unique_reference(i);
33 _cache.append_directory(std::move(fn));
37 if (_prefix.is_empty() && _postfix.is_empty() &&
38 num_unique_references == 0) {
40 _cache = _default_value;
43 _cache.append_path(_postfix);
Filename get_filename_value() const
Interprets the string value as a filename and returns it, with any variables expanded.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.