Commit 458a6ea4 authored by Claes Sjofors's avatar Claes Sjofors

Cloned volumes, exported volume class corrected

parent 08839a6f
......@@ -300,6 +300,10 @@ bool
wb_vrepmem::createSnapshot(const char *fileName, const pwr_tTime *time, const int rtonly)
{
try {
pwr_tCid vcid = m_cid;
if ( m_cloned && volume_object)
m_cid = volume_object->m_cid;
wb_dbs dbs(this);
if ( fileName)
......@@ -307,8 +311,12 @@ wb_vrepmem::createSnapshot(const char *fileName, const pwr_tTime *time, const in
if ( time)
dbs.setTime( *time);
dbs.importVolume(*this);
if ( m_cloned && volume_object)
m_cid = vcid;
return true;
} catch (wb_error& e) {
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment