![]() ![]() The mask for SHIFT is: CONSTRAIN_MODIFIER_MASKĬlick to expand and cheat on Homework. SHIFT+click to toggle the face’s selection state. Ie SHIFT+CTRL+click to remove the face from the selection. (Maybe something for a version 2?)įor normal CTRL(Option) + click to add items to a selection, replace line 43 with: unless (flags & COPY_MODIFIER_MASK) = fun homework, … you can get even fancier and mimic SketchUp’s Select Tool for all the modifier key combinations. ![]() I could’ve got fancy and done a test upon the flags argument for the COPY_MODIFIER_MASK and skipped the selection clear. ![]() The example only selects 1 face at a time, but you can use it as a starting point and modify it so it keeps adding the selected faces to the selection set.īasically comment out line 43 in the onLButtonUp callback method, where the selection is cleared for each pick. … select the face of a deeply nested object, then select the face of another object which is deeply nested in another group─ basically selecting a bunch of faces ignoring the nesting? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |