Exemplo n.º 1
0
bool LLPreviewNotecard::hasEmbeddedInventory()
{
	LLViewerTextEditor* editor = NULL;
	editor = getChild<LLViewerTextEditor>("Notecard Editor");
	if (!editor) return false;
	return editor->hasEmbeddedInventory();
}
Exemplo n.º 2
0
bool LLPreviewNotecard::hasEmbeddedInventory()
{
    LLViewerTextEditor* editor = NULL;
    editor = LLViewerUICtrlFactory::getViewerTextEditorByName(
                 this,
                 "Notecard Editor");
    if (!editor) return false;
    return editor->hasEmbeddedInventory();
}