From kde-bugs-dist Sat May 28 08:18:15 2005 From: Andreas Zehender Date: Sat, 28 May 2005 08:18:15 +0000 To: kde-bugs-dist Subject: [Bug 101676] Photons are not saved correctly Message-Id: <20050528081815.21878.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=111726830524499 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=101676 az azweb de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From az azweb de 2005-05-28 10:18 ------- SVN commit 418958 by azehende: fixed serialization of spacing_multi and pass_through BUG: 101676 M +3 -3 pmphotons.cpp --- trunk/KDE/kdegraphics/kpovmodeler/pmphotons.cpp #418957:418958 @ -114,12 +114,12 @ void PMPhotons::readAttributes( const PMXMLHelper& h ) { m_target = h.boolAttribute( "target", true ); - m_spacingMulti = h.doubleAttribute( "spacingMulti", spacingMultiDefault ); + m_spacingMulti = h.doubleAttribute( "spacing_multi", spacingMultiDefault ); m_refraction = h.boolAttribute( "refraction", false ); m_reflection = h.boolAttribute( "reflection", false ); m_collect = h.boolAttribute( "collect", true ); - m_passThrough = h.boolAttribute( "passThrough", false ); - m_areaLight = h.boolAttribute( "areaLight", false ); + m_passThrough = h.boolAttribute( "pass_through", false ); + m_areaLight = h.boolAttribute( "area_light", false ); } void PMPhotons::setTarget( bool t )