mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Merge pull request #616 from davidgiven/gui
Fix a crash when using the GUI.
This commit is contained in:
		| @@ -5,8 +5,9 @@ static std::unique_ptr<std::set<LocalBase*>> variables; | ||||
|  | ||||
| void Environment::reset() | ||||
| { | ||||
|     for (LocalBase* var : *variables) | ||||
|         var->reset(); | ||||
|     if (variables) | ||||
|         for (LocalBase* var : *variables) | ||||
|             var->reset(); | ||||
| } | ||||
|  | ||||
| void Environment::addVariable(LocalBase* local) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user