[radegast] r1201 committed - Fixed that the 3D View plug-in context menus were only showing up for ...

0 views
Skip to first unread message

rade...@googlecode.com

unread,
Feb 20, 2012, 3:02:02 AM2/20/12
to radega...@googlegroups.com
Revision: 1201
Author: logicmoo
Date: Mon Feb 20 00:01:00 2012
Log: Fixed that the 3D View plug-in context menus were only showing up
for "other avatars" and "objects you owned"
http://code.google.com/p/radegast/source/detail?r=1201

Modified:
/trunk/Radegast/GUI/Rendering/Rendering.cs

=======================================
--- /trunk/Radegast/GUI/Rendering/Rendering.cs Sun Feb 12 16:22:29 2012
+++ /trunk/Radegast/GUI/Rendering/Rendering.cs Mon Feb 20 00:01:00 2012
@@ -3338,10 +3338,8 @@

Client.Inventory.RequestDeRezToInventory(prim.Prim.LocalID,
DeRezDestination.AgentInventoryTake,
Client.Inventory.FindFolderForType(AssetType.TrashFolder), UUID.Random());
});
ctxMenu.Items.Add(item);
-
instance.ContextActionManager.AddContributions(ctxMenu, typeof(Primitive),
prim.Prim.ID);
-
-
- }
+ }
+ instance.ContextActionManager.AddContributions(ctxMenu,
typeof(Primitive), prim.Prim.ID);
} // We right clicked on an avatar, add some context menu items
else if (RightclickedObject != null && RightclickedObject is
RenderAvatar)
{
@@ -3378,9 +3376,8 @@
(new frmPay(Instance, av.avatar.ID,
Instance.Names.Get(av.avatar.ID), false)).ShowDialog();
});
ctxMenu.Items.Add(item);
-
instance.ContextActionManager.AddContributions(ctxMenu, typeof(Avatar),
av.avatar.ID);
- }
-
+ }
+ instance.ContextActionManager.AddContributions(ctxMenu,
typeof(Avatar), av.avatar.ID);
}

// If we are not the sole menu item, add separator

Reply all
Reply to author
Forward
0 new messages