Hi Gerrit,

Gerrit Voß wrote:
> Hi,
> 
> On Thu, 2009-09-10 at 14:39 +0200, Patrick Charrier wrote:
>> I tried
>> geo->invalidateVolume();
>> geo->updateVolume();
>> commitChanges();
>>
>> It didn't make anything better.
> 
> you have to call commitChanges() before geo->updateVolume(); 

this sounds like a case where we should do the commit inside the function, IMHO.

It's going to be nontrivial to decide when we expect people to do the commit 
themselves, but loading a model is a major operation, after wich a commit is 
absolutely required, and the cost is negligible.

I would also tend to add commits to e.g. GraphOps or the GeoUtil functions that 
are expensive.

Comments?

        Dirk

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to