fix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings
This commit is contained in:
@@ -1638,6 +1638,7 @@ static void rna_def_texture_voxeldata(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "resolution", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resol");
|
||||
RNA_def_property_range(prop, 1, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Resolution", "Resolution of the voxel grid");
|
||||
RNA_def_property_update(prop, 0, "rna_Texture_voxeldata_update");
|
||||
|
||||
|
Reference in New Issue
Block a user