mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
0020855: [CEA] Problem with ijk algo
* Fix uninitialized gravity center - gp_XYZ gc; + gp_XYZ gc(0,0,0);
This commit is contained in:
parent
c1f92a4104
commit
929a0adbce
@ -627,7 +627,7 @@ namespace
|
||||
// Select one of found sides most close to startBlockSide
|
||||
|
||||
// gravity center of already loaded block sides
|
||||
gp_XYZ gc;
|
||||
gp_XYZ gc(0,0,0);
|
||||
for (int i = 0; i < B_UNDEFINED; ++i )
|
||||
if ( block._side[ i ] )
|
||||
gc += block._side[ i ]._side->getGC();
|
||||
|
Loading…
Reference in New Issue
Block a user