[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52989] trunk/blender: Adding a new SPH solver that is more physically accurate.

Alex Fraser adfries at vpac.org
Fri Jan 11 04:17:41 CET 2013


----- Original Message -----
> In particle systems this line looks incorrect:
> if (part->fluid->flag & SPH_SOLVER_DDR) {
> 
> since it will never be true (SPH_SOLVER_DDR == 0)
> 
> Looks like it should be:
> if (part->fluid->solver == SPH_SOLVER_DDR) {

Thanks for picking that up, Campbell! It's fixed now; r53723. It's interesting that it seemed to work quite well anyway. Maybe we don't need that first code fork.

Alex

-- 
Alex Fraser
Software Engineer
VPAC Ltd.


More information about the Bf-committers mailing list