1. 09 Oct, 2017 1 commit
  2. 03 Oct, 2017 1 commit
  3. 19 Sep, 2017 1 commit
  4. 01 Aug, 2017 1 commit
    • Bob Obara's avatar
      BUG: Fixing focus when Operator Dock is docked · ccd06919
      Bob Obara authored
      The issue was that when the operator dock is placed in a CMB's application dock area, selecting an operator from the
      Model View Dock's context menu would not force the operator panel to be "raised" in order to become visible.
  5. 06 Jul, 2017 1 commit
    • David Thompson's avatar
      Fix model-entity renaming. · c4c57f90
      David Thompson authored
      I don't know how the previous code ever worked. Perhaps a different
      path was being used? Anyway:
      1. The signal-slot connection made between the editor-delegate and mode
         was as a `Qt::QueuedConnection`, but this won't work because the
         QModelIndex is no longer valid after the method emitting the signal
         completes (it re-sorts items by name after emitting the signal).
         Other methods to change the color and other properties probably
         suffer the same problem.
      2. The code fetching the "set property" operator traverses the
         descriptive phrase tree to get the session owning the model
         entity in a broken way instead of just calling `owningSession()`
         on the phrase's related entity.
         This pattern is definitely used elsewhere and needs to be fixed.
      3. This fix will not work for renaming meshes or other non-model
         entities in the descriptive phrase tree. We should handle the
         case when the phrase->relatedEntity() is not valid.
  6. 20 Jun, 2017 1 commit
  7. 09 Jun, 2017 1 commit
  8. 22 May, 2017 1 commit
  9. 16 May, 2017 1 commit
  10. 05 May, 2017 1 commit
    • Haocheng LIU's avatar
      Redesign qtSelectionManger with one output signal and shared_ptr · 8d327bfa
      Haocheng LIU authored
      This MR redesigns the qtSelectionManager so that we use one universal
      signal to broadcast to all receivers(rendering window, model tree and
       attribute panel). Also now qtActiveObjects has a weak reference to
      qtSelectionManger now uses "${className}_${memoryAddress}" to voiding
      updating the senders again.
      Clear a bunch of selection legacy codes and simplify the logic.
  11. 01 May, 2017 1 commit
  12. 28 Apr, 2017 2 commits
  13. 27 Apr, 2017 1 commit
  14. 26 Apr, 2017 1 commit
  15. 25 Apr, 2017 3 commits
    • Haocheng LIU's avatar
      Show contextMenu for active model's session · a37c307e
      Haocheng LIU authored
    • Haocheng LIU's avatar
      Add convenience methods for UUID&QVariant conversions · d6a53df0
      Haocheng LIU authored
      Storing UUID in QVariant as a string for conversion can be expenseive.
      Instead, it should be stored as a QByteArray. All future UUID&QVariant
      storage should use these functions.
    • Haocheng LIU's avatar
      FEATURE: Add active model support · bf7b6e10
      Haocheng LIU authored
      SMTK&CMB now has a concept of active model. Loading, switching and
      closing model(s)/data would reset the active model correspondingly.
      A singleton class(qtActiveObjects) is used to store active model.
      subPhraseGenerator would also keep a copy of it.
      Only active model can be selected by rubber band. And only active model
      would be expanded in model tree. Attribute panel would only list active
      model's entities. Check CMB issue #140 for detail.
  16. 13 Apr, 2017 1 commit
    • Haocheng LIU's avatar
      Redesign qtSelectionManager with only one update Selection SLOT · b871fa9f
      Haocheng LIU authored
      This MR combines the current input selectionManger SLOTs into
      one for simplification. SelectionModifier enum can be used to
      specify diffferent selection mode. SkipList can be used to specify
      which outputport to skip. Meanwhile qtSelectionManager would store
      entityRefs instead of UUIDs. UUIDs and multiple outputport signals
      would be deprecated in the future.
  17. 10 Apr, 2017 1 commit
    • Haocheng LIU's avatar
      Add assign color to ENTITY_LIST feature · 4db17e02
      Haocheng LIU authored
      Now user can assign color to ENTITY_LIST by just clicking the icon.
      For this ENTITY_LIST, it's parent entity must be a model and the color
      info is stored as a FloatProperty on the associated model as "$Entity::
      flagSummary(bitflags) + color."(Ex. "face color").
      This MR also fix a logic error in qtItemDelegate when deciding color
      is mutable or not.
  18. 05 Apr, 2017 1 commit
  19. 31 Mar, 2017 1 commit
  20. 29 Mar, 2017 1 commit
  21. 28 Mar, 2017 1 commit
  22. 23 Mar, 2017 1 commit
  23. 15 Mar, 2017 1 commit
  24. 23 Feb, 2017 1 commit
    • Haocheng LIU's avatar
      Improve Entity List View's order and sorting · 34815447
      Haocheng LIU authored
      Now the cell entity summaries are listed in the order as: volume, face,
      edge, vertex and auxiliary geometry rather than sorted by entity number.
      If entity's name is modified, corresponding entity list would be sorted
  25. 31 Jan, 2017 1 commit
    • Haocheng LIU's avatar
      Add a Selection manager to SMTK · cf11ba49
      Haocheng LIU authored
      This MR introduces SM to SMTK, which would handle selected
      modelEntities, meshSets and descriptivePhases. Any selection
      happenes from `rendering window`, `tree view` and `attribute
      panel` would be handled by SM and broadcast to outside.
  26. 05 Jan, 2017 1 commit
    • Bob Obara's avatar
      ENH: Added new qtOperatorView class · 2ef78dee
      Bob Obara authored
      This class creates a default UI for an operator.  It determines
      when the operation can be applied by changing teh validity of the
      underlying attribute as well as preventing the same operation from
      being accendently applied multiple times.
      - ALSO Fixed bug in model entity association which was causing
      model entities to be inserted in the item multiple times
  27. 14 Dec, 2016 1 commit
  28. 15 Nov, 2016 2 commits
  29. 29 Sep, 2016 1 commit
    • Yumin Yuan's avatar
      Handle Unset entity color with invalid color property. · b232cccd
      Yumin Yuan authored
      When unsetting entity color, the color property will be set to invalid numbers instead of removing the color property completely. This way the json serialization for operator result will serialize the changed property of the entity, so that client code will handle the changes properly.
  30. 28 Sep, 2016 1 commit
  31. 16 Sep, 2016 1 commit
  32. 13 Sep, 2016 1 commit
  33. 12 Aug, 2016 1 commit
    • Bob Obara's avatar
      ENH: Fixing up Polygon Operators · b7189583
      Bob Obara authored
      1. By default the label of an Attribute Definition is set to its type
      2. When Operators are displayed they now refer to the label associated with its underlying attribute defintion
      instead of the type - this allows operator to be "named" differently in the display without changing its actual name
      3. Added a method to Polygon's Model to create an edge from 2 vertices
      4. Divided CreateEdge operator into 3 operators:
      4.1 CreateEdge - creates the edge interactively
      4.2 CreateEdgeFromVertices
      4.3 CreateEdgeFromPoints - also cleaned up GUI
      5. CreateFaces has been split into 2 operators
      5.1 - CreateFace creates all possible faces
      5.2 - CreateFaceFromEdges - creates all posisble faces based on a set of selected edges
      6. Simplified CreateVertices operator and cleaned-up the UI
      7. Changed a bunch of operator labels to provide better grouping when they get displayed
      Note that in order to get the Model focused operators to be displayed at the top they all start with a space.
      8. Sessions can now return opertor labels and their mapping to their names
      10. Polygon Session renames some opertors (in particularly export to SMTK model is now called Model-Save which
      is how a polygon model is actually saved.
  34. 02 Aug, 2016 1 commit
  35. 21 Jul, 2016 1 commit
  36. 29 Jun, 2016 1 commit
    • Yumin Yuan's avatar
      Model selected signal should be after mesh selected. · e12f144c
      Yumin Yuan authored
      When selecting a model entry in the tree view, its meshes are also selected and two signals will be emitted, one for model, one for mesh. Since an application could behave differently on what's selected, we assume selecting the model should make the model active, not the mesh, therefore, emit the model signal after mesh signal.