SL-20769 Local textures shouldn't be used for Picks & Classifieds
parent
602a2af309
commit
706ae0afad
|
|
@ -650,6 +650,8 @@ BOOL LLPanelProfileClassified::postBuild()
|
|||
mSnapshotCtrl->setOnSelectCallback(boost::bind(&LLPanelProfileClassified::onTextureSelected, this));
|
||||
mSnapshotCtrl->setMouseEnterCallback(boost::bind(&LLPanelProfileClassified::onTexturePickerMouseEnter, this));
|
||||
mSnapshotCtrl->setMouseLeaveCallback(boost::bind(&LLPanelProfileClassified::onTexturePickerMouseLeave, this));
|
||||
mSnapshotCtrl->setAllowLocalTexture(FALSE);
|
||||
mSnapshotCtrl->setBakeTextureEnabled(FALSE);
|
||||
mEditIcon->setVisible(false);
|
||||
|
||||
mMapButton->setCommitCallback(boost::bind(&LLPanelProfileClassified::onMapClick, this));
|
||||
|
|
|
|||
|
|
@ -581,6 +581,8 @@ BOOL LLPanelProfilePick::postBuild()
|
|||
|
||||
mSnapshotCtrl = getChild<LLTextureCtrl>("pick_snapshot");
|
||||
mSnapshotCtrl->setCommitCallback(boost::bind(&LLPanelProfilePick::onSnapshotChanged, this));
|
||||
mSnapshotCtrl->setAllowLocalTexture(FALSE);
|
||||
mSnapshotCtrl->setBakeTextureEnabled(FALSE);
|
||||
|
||||
childSetAction("teleport_btn", boost::bind(&LLPanelProfilePick::onClickTeleport, this));
|
||||
childSetAction("show_on_map_btn", boost::bind(&LLPanelProfilePick::onClickMap, this));
|
||||
|
|
|
|||
Loading…
Reference in New Issue