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