55
66#include " EditLightAnim.h"
77#include " Scene.h"
8- #include " LightAnimLibrary.h"
8+ #include " xrEngine/ LightAnimLibrary.h"
99#include " editors/ECore/Editor/ColorPicker.h"
1010#include " editors/ECore/Editor/ui_main.h"
1111// ---------------------------------------------------------------------------
@@ -162,7 +162,7 @@ void TfrmEditLightAnim::InitItems()
162162{
163163 ListItemsVec items;
164164 for (LAItemIt it = LALib.Items .begin (); it != LALib.Items .end (); it++)
165- LHelper ().CreateItem (items, * (*it)->cName , 0 , 0 , 0 );
165+ LHelper ().CreateItem (items, (*it)->cName . c_str () , 0 , 0 , 0 );
166166 m_Items->AssignItems (items, false , true );
167167}
168168
@@ -255,7 +255,7 @@ void __fastcall TfrmEditLightAnim::ebAddAnimClick(TObject* Sender)
255255 pref.c_str (), 2 , fastdelegate::bind<TFindObjectByName>(this , &TfrmEditLightAnim::FindItemByName), false , true );
256256 CLAItem* I = LALib.AppendItem (name.c_str (), 0 );
257257 InitItems ();
258- m_Items->SelectItem (* I->cName , true , false , true );
258+ m_Items->SelectItem (I->cName . c_str () , true , false , true );
259259 OnModified ();
260260}
261261
@@ -271,7 +271,7 @@ void __fastcall TfrmEditLightAnim::ebCloneClick(TObject* Sender)
271271 fastdelegate::bind<TFindObjectByName>(this , &TfrmEditLightAnim::FindItemByName), false , true );
272272 CLAItem* I = LALib.AppendItem (name.c_str (), m_CurrentItem);
273273 InitItems ();
274- m_Items->SelectItem (* I->cName , true , false , true );
274+ m_Items->SelectItem (I->cName . c_str () , true , false , true );
275275 OnModified ();
276276 }
277277 else
0 commit comments