Change airbrush rate min/max to allow lower values and add separate
soft/hard limits for even lower/higher ones.
This commit is contained in:
		@@ -192,8 +192,9 @@ static void rna_def_brush(BlenderRNA *brna)
 | 
			
		||||
	
 | 
			
		||||
	prop= RNA_def_property(srna, "rate", PROP_FLOAT, PROP_NONE);
 | 
			
		||||
	RNA_def_property_float_sdna(prop, NULL, "rate");
 | 
			
		||||
	RNA_def_property_range(prop, 0.010f, 1.0f);
 | 
			
		||||
	RNA_def_property_ui_text(prop, "Rate", "Number of paints per second for Airbrush");
 | 
			
		||||
	RNA_def_property_range(prop, 0.0001f , 10000.0f);
 | 
			
		||||
	RNA_def_property_ui_range(prop, 0.01f, 1.0f, 1, 3);
 | 
			
		||||
	RNA_def_property_ui_text(prop, "Rate", "Interval between paints for Airbrush");
 | 
			
		||||
	RNA_def_property_update(prop, 0, "rna_Brush_update");
 | 
			
		||||
	
 | 
			
		||||
	prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user