Fixed context menu for Text

This commit is contained in:
YuSanka 2022-10-03 11:22:26 +02:00
parent 65f8b09876
commit 1f1ed048db
5 changed files with 85 additions and 52 deletions

View file

@ -328,6 +328,7 @@ public:
#if ENABLE_WORLD_COORDINATE
bool is_single_volume_or_modifier() const { return is_single_volume() || is_single_modifier(); }
#endif // ENABLE_WORLD_COORDINATE
bool is_single_text() const;
bool contains_volume(unsigned int volume_idx) const { return m_list.find(volume_idx) != m_list.end(); }
// returns true if the selection contains all the given indices