[Bf-blender-cvs] [247707c52a7] temp-spreadsheet-editor: cleanup
Jacques Lucke
noreply at git.blender.org
Tue Feb 23 17:08:34 CET 2021
Commit: 247707c52a778e5099b628054334ffc24618643a
Author: Jacques Lucke
Date: Tue Feb 23 17:07:02 2021 +0100
Branches: temp-spreadsheet-editor
https://developer.blender.org/rB247707c52a778e5099b628054334ffc24618643a
cleanup
===================================================================
M source/blender/editors/space_spreadsheet/space_spreadsheet.cc
===================================================================
diff --git a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc
index 946d8747427..9f8169949b5 100644
--- a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc
+++ b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc
@@ -275,26 +275,6 @@ static void spreadsheet_main_region_draw(const bContext *C, ARegion *region)
const MeshComponent &component = *geometry_set.get_component_for_read<MeshComponent>();
spreadsheet_draw_readonly_table(block, component, ATTR_DOMAIN_POINT);
}
-
- // for (const int i : IndexRange(mesh->totvert)) {
- // const MVert &vert = mesh->mvert[i];
- // uiBut *but = uiDefButF(block,
- // UI_BTYPE_NUM,
- // 0,
- // "",
- // 0,
- // -i * UI_UNIT_Y,
- // 150,
- // UI_UNIT_Y,
- // (float *)vert.co,
- // -100.0f,
- // 100.0f,
- // 0,
- // 0,
- // "My tip");
- // UI_but_number_precision_set(but, 3);
- // UI_but_disable(but, "cannot edit");
- // }
}
UI_block_end(C, block);
More information about the Bf-blender-cvs
mailing list