Cleanup: deduplicate image user initialization, make consistent.
[blender.git] / source / blender / blenkernel / intern / texture.c
index dbbb231a18b6e7324f732c45d921f5f576222fc9..d225baebaaf5253dfd643034348b2333c68a57e6 100644 (file)
@@ -254,9 +254,7 @@ void BKE_texture_default(Tex *tex)
   tex->vn_distm = 0;
   tex->vn_coltype = 0;
 
-  tex->iuser.ok = 1;
-  tex->iuser.frames = 100;
-  tex->iuser.sfra = 1;
+  BKE_imageuser_default(&tex->iuser);
 
   tex->preview = NULL;
 }