Bug fix 1148
In do_versions() the new texture parameters were always initialized, whilst we didn't go for a new release number yet. Now it checks for a value==0.0
This commit is contained in:
@@ -4123,7 +4123,7 @@ static void do_versions(Main *main)
|
|||||||
|
|
||||||
while(tex) {
|
while(tex) {
|
||||||
/* copied from kernel texture.c */
|
/* copied from kernel texture.c */
|
||||||
|
if(tex->ns_outscale==0.0) {
|
||||||
/* musgrave */
|
/* musgrave */
|
||||||
tex->mg_H = 1.0;
|
tex->mg_H = 1.0;
|
||||||
tex->mg_lacunarity = 2.0;
|
tex->mg_lacunarity = 2.0;
|
||||||
@@ -4136,7 +4136,7 @@ static void do_versions(Main *main)
|
|||||||
/* voronoi */
|
/* voronoi */
|
||||||
tex->vn_w1 = 1.0;
|
tex->vn_w1 = 1.0;
|
||||||
tex->vn_mexp = 2.5;
|
tex->vn_mexp = 2.5;
|
||||||
|
}
|
||||||
tex= tex->id.next;
|
tex= tex->id.next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user