|
|
|
@ -13,6 +13,7 @@
|
|
|
|
#include <editor/editor.h>
|
|
|
|
#include <editor/editor.h>
|
|
|
|
#include <world/entity.h>
|
|
|
|
#include <world/entity.h>
|
|
|
|
#include <world/components.h>
|
|
|
|
#include <world/components.h>
|
|
|
|
|
|
|
|
#include <editor/contents/editor_asset.h>
|
|
|
|
#include <editor/component_guis.h>
|
|
|
|
#include <editor/component_guis.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define PRESENT_COMP_CHOICE(str_name, type_name, pv) \
|
|
|
|
#define PRESENT_COMP_CHOICE(str_name, type_name, pv) \
|
|
|
|
@ -154,7 +155,10 @@ namespace lunarium { namespace editor
|
|
|
|
|
|
|
|
|
|
|
|
void PropertiesView::ShowAsset()
|
|
|
|
void PropertiesView::ShowAsset()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (mpSelectedAsset)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
mpSelectedAsset->DrawProperties();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
|