mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Don't add "(not used)" to config decls when writing them, it makes it harder to write out a config.prc file
This commit is contained in:
parent
09f2bea96f
commit
d68bbae5b4
@ -163,9 +163,9 @@ output(ostream &out) const {
|
||||
void ConfigDeclaration::
|
||||
write(ostream &out) const {
|
||||
out << get_variable()->get_name() << " " << get_string_value();
|
||||
if (!get_variable()->is_used()) {
|
||||
out << " (not used)";
|
||||
}
|
||||
//if (!get_variable()->is_used()) {
|
||||
// out << " (not used)";
|
||||
//}
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user