and now a sort of working version.
This commit is contained in:
@@ -482,6 +482,8 @@ void LLFloaterTexturePicker::onClose(bool app_quitting)
|
||||
BOOL LLFloaterTexturePicker::postBuild()
|
||||
{
|
||||
LLFloater::postBuild();
|
||||
|
||||
childSetValue("texture_uuid", mImageAssetID);
|
||||
|
||||
if (!mLabel.empty())
|
||||
{
|
||||
@@ -557,7 +559,6 @@ void LLFloaterTexturePicker::draw()
|
||||
childSetEnabled("Select", mActive);
|
||||
childSetEnabled("Pipette", mActive);
|
||||
childSetValue("Pipette", LLToolMgr::getInstance()->getCurrentTool() == LLToolPipette::getInstance());
|
||||
childSetValue("texture_uuid", mImageAssetID);
|
||||
|
||||
//RN: reset search bar to reflect actual search query (all caps, for example)
|
||||
mSearchEdit->setText(mInventoryPanel->getFilterSubString());
|
||||
@@ -922,6 +923,7 @@ void LLFloaterTexturePicker::onTextureSelect( const LLTextureEntry& te, void *da
|
||||
|
||||
self->mNoCopyTextureSelected = FALSE;
|
||||
//<edit>
|
||||
self->childSetValue("texture_uuid", te.getID().asString());
|
||||
/*
|
||||
LLInventoryItem* itemp = gInventory.getItem(inventory_item_id);
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
halign="center" height="20" label="Select" label_selected="Select"
|
||||
left="290" mouse_opaque="true" name="Select" scale_image="true" width="100" />
|
||||
<line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="10"
|
||||
left="8" follows="bottom" font="SansSerif" handle_edit_keys_directly="true"
|
||||
left="8" follows="bottom" font="SansSerif" handle_edit_keys_directly="false"
|
||||
height="20" max_length="36" mouse_opaque="true" name="texture_uuid"
|
||||
select_all_on_focus_received="false" width="230" />
|
||||
<button enabled="true" follows="top|right" font="SansSerif"
|
||||
|
||||
Reference in New Issue
Block a user