From 2f9a73738f479833455eddc6c59ed6dfb4269fd8 Mon Sep 17 00:00:00 2001 From: Neltulz Date: Mon, 2 Mar 2020 11:58:45 -0600 Subject: [PATCH] v1.0.15 - Major Performance Improvements and Bug Fixes - Improved performance when framing vertices/edges/faces while in edit mode, for objects with very high vertex counts. - Fixed bug that was preventing users from assigning operators to keymaps via right click menu. If you have any custom keymaps for this add-on, you will have to recreate them. Sorry for the inconvenience. - Moved some keymaps from 3D View Generic to 3D View. This should hopefully prevent some keymap unregister errors when unloading the add-on. - Split the Smart Frame operator into 4 separate operators so that they are easier to identify in the keymap preferences. - Fixed many bugs that prevented adjusting zoom when framing or moving viewport to origin. - Fixed bug that prevented mesh objects with no mesh data from being framed. - Fixed bug that prevented mesh objects with single vertex selection from being framed. - Fixed bug where unchecking an object type such as "Lights" would cause the object to never frame when the user has the object selected and tries to frame it. --- README_Neltulz_Smart_Frame_Selection.html | 98 ++-- __init__.py | 129 +++-- addonPrefs.py => addonPreferences.py | 85 ++- keymaps.py | 62 +- mainOt.py | 655 ++++++++++++++++++++++ main_ot.py | 494 ---------------- misc_functions.py => miscFunc.py | 240 ++++---- misc_layout.py => miscLay.py | 83 +-- misc_ot.py => miscOt.py | 201 ++----- panels.py | 36 +- properties.py | 4 +- readme_html_files/css/styles.css | 252 ++++++++- readme_html_files/img/banner.jpg | Bin 0 -> 570389 bytes readme_html_files/img/banner_thumb.jpg | Bin 0 -> 89902 bytes readme_html_files/js/main.js | 3 +- 15 files changed, 1408 insertions(+), 934 deletions(-) rename addonPrefs.py => addonPreferences.py (79%) create mode 100644 mainOt.py delete mode 100644 main_ot.py rename misc_functions.py => miscFunc.py (74%) rename misc_layout.py => miscLay.py (77%) rename misc_ot.py => miscOt.py (77%) create mode 100644 readme_html_files/img/banner.jpg create mode 100644 readme_html_files/img/banner_thumb.jpg diff --git a/README_Neltulz_Smart_Frame_Selection.html b/README_Neltulz_Smart_Frame_Selection.html index a70ca55..9990d8c 100644 --- a/README_Neltulz_Smart_Frame_Selection.html +++ b/README_Neltulz_Smart_Frame_Selection.html @@ -10,11 +10,11 @@ - + - + @@ -74,14 +74,14 @@
- - - - Logo + + + + Logo

- Neltulz - Smart Frame
Version: 1.0.14
Updated: 2/24/2020
+ Version: 1.0.15
Updated: 3/02/2020

@@ -143,49 +143,56 @@

insert youtube iframe embed code here

--> -

Table of Contents

- - +

Key Features

    -
  • Frame Selected object or vertex/edge/face selection.
  • -
  • Frame all if nothing is selected. -
  • Works in both Object Mode and Edit Mode
  • -
  • Automatically zoom out the 3D View to a reasonable distance when only 1 vertex is selected, without disturbing orbit.
  • +
  • Frame Selected object or vertex/edge/face selection.
  • +
  • Frame all if nothing is selected. +
  • Works in both Object Mode and Edit Mode
  • +
  • Automatically zoom out the 3D View to a reasonable distance when only 1 vertex is selected, without disturbing orbit.
+

Github

+ +
+ To see all of the very latest changes, please visit the github for this addon. +
+

Installation

    -
  1. Download the Neltulz - Smart Frame zip file anywhere on your +
  2. Download the Neltulz - Smart Frame zip file anywhere on your computer.
  3. Run Blender.
  4. -
  5. Go to Edit > Preferences.
  6. +
  7. Go to Edit > Preferences.
  8. -
  9. In the left sidebar, go to Add-ons.
  10. +
  11. In the left sidebar, go to Add-ons.
  12. -
  13. At the top right, click Install.
  14. +
  15. At the top right, click Install.
  16. -
  17. Browse for the Neltulz - Smart Frame zip file and click Install Add-on +
  18. Browse for the Neltulz - Smart Frame zip file and click Install Add-on from File
    Alternatively, you may double click the zip file to install it.
  19. -
  20. Next to Generic: Neltulz - Smart Frame, enable the checkbox.
  21. +
  22. Next to Generic: Neltulz - Smart Frame, enable the checkbox.
  23. -
  24. At the lower left of the preferences window, click Save Preferences and +
  25. At the lower left of the preferences window, click Save Preferences and close the preferences window.
@@ -213,21 +220,21 @@
Hotkeys
F Frame - ntz_smrt_frm.select + view3d.ntzsf_smart_frame frameSelection = True
isolateSelection = False SHIFT+F Isolate - ntz_smrt_frm.select + view3d.ntzsf_smart_frame frameSelection = False
isolateSelection = True CTRL+SHIFT+F Frame & Isolate - ntz_smrt_frm.select + view3d.ntzsf_smart_frame frameSelection = True
isolateSelection = True @@ -245,8 +252,8 @@

Known Issues & Limitations

License

-

This addon is using the GNU GPL v3.0.

+

This addon is using the GNU GPL v3.0.

@@ -293,10 +300,23 @@

From the GNU GPL v3.0:

Changelog

    +
  • +
    2020-03-02
    +
      +
    • Improved performance when framing vertices/edges/faces while in edit mode, for objects with very high vertex counts.
    • +
    • Fixed bug that was preventing users from assigning operators to keymaps via right click menu. If you have any custom keymaps for this add-on, you will have to recreate them. Sorry for the inconvenience.
    • +
    • Moved some keymaps from 3D View Generic to 3D View. This should hopefully prevent some keymap unregister errors when unloading the add-on.
    • +
    • Split the Smart Frame operator into 4 separate operators so that they are easier to identify in the keymap preferences.
    • +
    • Fixed many bugs that prevented adjusting zoom when framing or moving viewport to origin.
    • +
    • Fixed bug that prevented mesh objects with no mesh data from being framed.
    • +
    • Fixed bug that prevented mesh objects with single vertex selection from being framed.
    • +
    • Fixed bug where unchecking an object type such as "Lights" would cause the object to never frame when the user has the object selected and tries to frame it.
    • +
    +
  • 2020-02-24
      -
    • Moved a ton of settings to the add-on preferences so that they survive a blend file change, or program restart.
    • +
    • Moved a ton of settings to the add-on preferences so that they survive a blend file change, or program restart.
  • @@ -405,7 +425,7 @@
    2019-08-19
  • 2019-08-18
      -
    • Changed license from "CC BY 4.0" to GNU GPL v3.0 because it's easier to select on Github
    • +
    • Changed license from "CC BY 4.0" to GNU GPL v3.0 because it's easier to select on Github
  • @@ -423,7 +443,7 @@
  • Floatharr's Twitch Stream where he does all things art, and blender work
-

Special Thanks

+

Credits