Skip to content
Snippets Groups Projects
Commit d49a6f1e authored by Miezhiko's avatar Miezhiko Committed by Rye Mutt
Browse files

llpanelobject: gcc 13 fix, comparison between raw and smart pointers


Signed-off-by: default avatarMiezhiko <Miezhiko@gmail.com>
parent 13327f50
Branches
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -2762,7 +2762,7 @@ void LLPanelObject::onRotSelect(bool success, LLViewerObject* obj, const LLTextu
void LLPanelObject::onParamsSelect(bool success, LLViewerObject* obj, const LLTextureEntry& te)
{
if (success && obj != mObject && (obj && obj->permModify() && !obj->isMesh()) && (mObject && mObject->permModify() && !mObject->isMesh()))
if (success && obj != mObject.get() && (obj && obj->permModify() && !obj->isMesh()) && (mObject && mObject->permModify() && !mObject->isMesh()))
{
if (obj->getVolume() && LL_PCODE_VOLUME == obj->getPCode())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment