Skip to content

Commit 2f0df81

Browse files
My bad, this change broke the context menu (#36)
1 parent c00ea2d commit 2f0df81

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Editor/MenuItems/UrdfExportEditorWindow.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/MenuItems/UrdfImporterContextMenuItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ namespace RosSharp.Urdf.Editor
2020
{
2121
public static class UrdfImporterContextMenuItem
2222
{
23-
[MenuItem("Robotics/Import Robot from Selected URDF file", true, 0)]
23+
[MenuItem("Assets/Import Robot from Selected URDF file", true, 0)]
2424
public static bool CreateUrdfObject_IsValid()
2525
{
2626
string assetPath = AssetDatabase.GetAssetPath(Selection.activeObject);
2727

2828
return (Path.GetExtension(assetPath)?.ToLower() == ".urdf");
2929
}
3030

31-
[MenuItem("Robotics/Import Robot from Selected URDF file")]
31+
[MenuItem("Assets/Import Robot from Selected URDF file")]
3232
private static void CreateUrdfObject()
3333
{
3434
//Get path to asset, check if it's a urdf file

0 commit comments

Comments
 (0)