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