diff options
| author | Juan Linietsky | 2015-01-03 16:52:37 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-03 16:52:37 -0300 |
| commit | fbdd925d9be1c4c96d05089d7d5a58cd938b002c (patch) | |
| tree | 9f4eb2ae7c61450dffb4a86bb5e82cf66e23d496 /tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp | |
| parent | eb1f978b1c1693018e9a6d353ca914f8e6586b4e (diff) | |
| download | godot-fbdd925d9be1c4c96d05089d7d5a58cd938b002c.tar.gz godot-fbdd925d9be1c4c96d05089d7d5a58cd938b002c.tar.zst godot-fbdd925d9be1c4c96d05089d7d5a58cd938b002c.zip | |
-Work in progress visual shader editor *DOES NOT WORK YET*
Diffstat (limited to 'tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp b/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp index 6bae0d2fd..ed228e9a1 100644 --- a/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp @@ -398,11 +398,13 @@ CollisionPolygon2DEditor::CollisionPolygon2DEditor(EditorNode *p_editor) { add_child(button_create); button_create->connect("pressed",this,"_menu_option",varray(MODE_CREATE)); button_create->set_toggle_mode(true); + button_create->set_tooltip("Create a new polygon from scratch"); button_edit = memnew( ToolButton ); add_child(button_edit); button_edit->connect("pressed",this,"_menu_option",varray(MODE_EDIT)); button_edit->set_toggle_mode(true); + button_edit->set_tooltip("Edit existing polygon:\nLMB: Move Point.\nCtrl+LMB: Split Segment.\nRMB: Erase Point."); //add_constant_override("separation",0); |
