mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Parise makes #forscopes accept a variable
This commit is contained in:
parent
9e8ba9e7e3
commit
257272aad7
@ -1843,7 +1843,7 @@ replay_forscopes(const string &name) {
|
||||
// Extract out the scope names from the #forscopes .. #end name. This
|
||||
// is a space-delimited list of scope names.
|
||||
vector<string> words;
|
||||
tokenize_whitespace(name, words);
|
||||
tokenize_whitespace(_scope->expand_string(name), words);
|
||||
|
||||
// Now build up the list of scopes with these names.
|
||||
PPNamedScopes::Scopes scopes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user