Пример #1
0
bool LLPreviewNotecard::hasEmbeddedInventory()
{
	LLViewerTextEditor* editor = NULL;
	editor = getChild<LLViewerTextEditor>("Notecard Editor");
	if (!editor) return false;
	return editor->hasEmbeddedInventory();
}
Пример #2
0
bool LLPreviewNotecard::hasEmbeddedInventory()
{
    LLViewerTextEditor* editor = NULL;
    editor = LLViewerUICtrlFactory::getViewerTextEditorByName(
                 this,
                 "Notecard Editor");
    if (!editor) return false;
    return editor->hasEmbeddedInventory();
}