OSDN Git Service

Display the correct context menu for Primitives clicked on in the 3D viewer
authorDouglas R. Miles <logicmoo@gmail.com>
Mon, 13 Feb 2012 00:22:29 +0000 (00:22 +0000)
committerDouglas R. Miles <logicmoo@gmail.com>
Mon, 13 Feb 2012 00:22:29 +0000 (00:22 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1200 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Rendering/Rendering.cs

index bac9c6c..d8d24de 100644 (file)
@@ -3338,7 +3338,7 @@ namespace Radegast.Rendering
                         Client.Inventory.RequestDeRezToInventory(prim.Prim.LocalID, DeRezDestination.AgentInventoryTake, Client.Inventory.FindFolderForType(AssetType.TrashFolder), UUID.Random());\r
                     });\r
                     ctxMenu.Items.Add(item);\r
-                    instance.ContextActionManager.AddContributions(ctxMenu, typeof(Avatar), prim.Prim.ID);\r
+                    instance.ContextActionManager.AddContributions(ctxMenu, typeof(Primitive), prim.Prim.ID);\r
 \r
 \r
                 }\r