Particle edit brush strengths were loaded wrong for old files.
This commit is contained in:
@@ -10687,6 +10687,15 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
|
|||||||
SEQ_END
|
SEQ_END
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* particle brush strength factor was changed from int to float */
|
||||||
|
for(sce= main->scene.first; sce; sce=sce->id.next) {
|
||||||
|
ParticleEditSettings *pset= &sce->toolsettings->particle;
|
||||||
|
int a;
|
||||||
|
|
||||||
|
for(a=0; a<PE_TOT_BRUSH; a++)
|
||||||
|
pset->brush[a].strength /= 100.0;
|
||||||
|
}
|
||||||
|
|
||||||
for(ma = main->mat.first; ma; ma=ma->id.next)
|
for(ma = main->mat.first; ma; ma=ma->id.next)
|
||||||
if(ma->mode & MA_TRACEBLE)
|
if(ma->mode & MA_TRACEBLE)
|
||||||
ma->shade_flag |= MA_APPROX_OCCLUSION;
|
ma->shade_flag |= MA_APPROX_OCCLUSION;
|
||||||
|
|||||||
Reference in New Issue
Block a user