[Gammaray-commits] [KDAB/GammaRay] 506710: SGWireframeWidget: add some needed checks.

Anton Kreuzkamp anton.kreuzkamp at kdab.com
Wed Mar 19 11:59:56 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/KDAB/GammaRay
  Commit: 5067105c5851e0ca9aa1ea71112068f97d7ba7e2
      https://github.com/KDAB/GammaRay/commit/5067105c5851e0ca9aa1ea71112068f97d7ba7e2
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-19 (Wed, 19 Mar 2014)

  Changed paths:
    M plugins/quickinspector/geometryextension/sgwireframewidget.cpp

  Log Message:
  -----------
  SGWireframeWidget: add some needed checks.

While drawing highlighted faces, it could happen that some
uninitialized variables were accessed, while it wouldn't make sense to
draw a face at all. Now i added the necessary check to not try to draw
the face in that case.


  Commit: 6474aa5451998503e798f94efb459955c8741b76
      https://github.com/KDAB/GammaRay/commit/6474aa5451998503e798f94efb459955c8741b76
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-19 (Wed, 19 Mar 2014)

  Changed paths:
    M plugins/quickinspector/geometryextension/sgwireframewidget.cpp

  Log Message:
  -----------
  SGWireframeWidget: Reset geometry size on change.

When the geometry changes, that the SGWireframeWidget displays, the
variables holding the size of it wouldn't get reset correctly, causing
the zoom to be wrong after changing the geometry node. This commit
fixes that.


Compare: https://github.com/KDAB/GammaRay/compare/d8eee36c877a...6474aa545199


More information about the Gammaray-commits mailing list