mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-03 17:50:27 -05:00 
			
		
		
		
	Bug fixes:
--Fix bug where clearing the final xform, but leaving it present, then editing it would crash the program.
This commit is contained in:
		@ -215,7 +215,7 @@ void FractoriumEmberController<T>::VariationSpinBoxValueChanged(double d)//Would
 | 
			
		||||
			if (isParam)
 | 
			
		||||
			{
 | 
			
		||||
				//Do not take action if the xform doesn't contain the variation which this param is part of.
 | 
			
		||||
				if (ParametricVariation<T>* xformParVar = dynamic_cast<ParametricVariation<T>*>(xformVar))//The parametric cast of the xform's variation.
 | 
			
		||||
				if (auto xformParVar = dynamic_cast<ParametricVariation<T>*>(xformVar))//The parametric cast of the xform's variation.
 | 
			
		||||
					if (xformParVar->SetParamVal(sender->ParamName().c_str(), d))
 | 
			
		||||
						update = true;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user