[Bf-extensions-cvs] [28af3c07] master: space_view3d_display_tools: unsupported: remove from repo: T63750

meta-androcto noreply at git.blender.org
Thu Jun 13 02:07:38 CEST 2019


Commit: 28af3c079ef39175eed36c435bd1b9e4c401c3e6
Author: meta-androcto
Date:   Thu Jun 13 10:07:16 2019 +1000
Branches: master
https://developer.blender.org/rBAC28af3c079ef39175eed36c435bd1b9e4c401c3e6

space_view3d_display_tools: unsupported: remove from repo: T63750

===================================================================

D	space_view3d_display_tools/__init__.py
D	space_view3d_display_tools/display.py
D	space_view3d_display_tools/fast_navigate.py
D	space_view3d_display_tools/modifier_tools.py
D	space_view3d_display_tools/scene_vis.py
D	space_view3d_display_tools/select_tools.py
D	space_view3d_display_tools/selection_restrictor.py
D	space_view3d_display_tools/shading_menu.py
D	space_view3d_display_tools/useless_tools.py

===================================================================

diff --git a/space_view3d_display_tools/__init__.py b/space_view3d_display_tools/__init__.py
deleted file mode 100644
index 78409ff7..00000000
--- a/space_view3d_display_tools/__init__.py
+++ /dev/null
@@ -1,667 +0,0 @@
-# space_view_3d_display_tools.py Copyright (C) 2014, Jordi Vall-llovera
-# Multiple display tools for fast navigate/interact with the viewport
-
-# ##### BEGIN GPL LICENSE BLOCK #####
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENCE BLOCK #####
-# Contributed to by:
-# Jasperge, Pixaal, Meta-androcto, Lapineige, lijenstina,
-# Felix Schlitter, Ales Sidenko, Jakub Belcik
-
-bl_info = {
-    "name": "Display Tools",
-    "author": "Jordi Vall-llovera Medina, Jhon Wallace",
-    "version": (1, 6, 6),
-    "blender": (2, 79, 0),
-    "location": "Toolshelf",
-    "description": "Display tools for fast navigation/interaction with the viewport",
-    "warning": "",
-    "wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/"
-                "Py/Scripts/3D_interaction/Display_Tools",
-    "category": "3D View"}
-
-
-# Import From Files
-if "bpy" in locals():
-    import importlib
-    importlib.reload(display)
-    importlib.reload(fast_navigate)
-    importlib.reload(modifier_tools)
-
-    importlib.reload(shading_menu)
-    importlib.reload(select_tools)
-    importlib.reload(useless_tools)
-#    importlib.reload(selection_restrictor)
-
-else:
-    from . import display
-    from . import fast_navigate
-    from . import modifier_tools
-
-    from . import shading_menu
-    from . import select_tools
-    from . import useless_tools
-#    from . import selection_restrictor
-
-import bpy
-from bpy.types import (
-        Panel,
-        PropertyGroup,
-        AddonPreferences,
-        )
-from bpy.props import (
-        IntProperty,
-        BoolProperty,
-        BoolVectorProperty,
-        EnumProperty,
-        StringProperty,
-        PointerProperty,
-        )
-
-
-class DISPLAY_PT_ToolsPanel(Panel):
-    bl_label = "Display Tools"
-    bl_space_type = "VIEW_3D"
-    bl_region_type = "UI"
-    bl_category = "Display"
-    bl_options = {'DEFAULT_CLOSED'}
-
-    display_type_icons = {
-            'BOUNDS': 'SHADING_BBOX',
-            'WIRE': 'SHADING_WIRE',
-            'SOLID': 'SHADING_SOLID',
-            'TEXTURED': 'SHADING_RENDERED'
-            }
-    bounds_icons = {
-            'BOX': 'MESH_CUBE',
-            'SPHERE': 'MATSPHERE',
-            'CYLINDER': 'MESH_CYLINDER',
-            'CONE': 'MESH_CONE'
-            }
-
-    def draw(self, context):
-        scene = context.scene
-        display_tools = scene.display_tools
-        render = scene.render
-        view = context.space_data
-        obj = context.object
-        obj_type = obj.type if obj else None
-        fx_settings = view.fx_settings
-
-        DISPLAYDROP = display_tools.UiTabDrop[0]
-        SHADINGDROP = display_tools.UiTabDrop[1]
-        SCENEDROP = display_tools.UiTabDrop[2]
-        MODIFIERDROP = display_tools.UiTabDrop[3]
-        SELECT2DROP = display_tools.UiTabDrop[4]
-        FASTNAVDROP = display_tools.UiTabDrop[5]
-        icon_active_0 = "TRIA_RIGHT" if not DISPLAYDROP else "TRIA_DOWN"
-        icon_active_1 = "TRIA_RIGHT" if not SHADINGDROP else "TRIA_DOWN"
-        icon_active_2 = "TRIA_RIGHT" if not SCENEDROP else "TRIA_DOWN"
-        icon_active_3 = "TRIA_RIGHT" if not MODIFIERDROP else "TRIA_DOWN"
-        icon_active_4 = "TRIA_RIGHT" if not SELECT2DROP else "TRIA_DOWN"
-        icon_active_5 = "TRIA_RIGHT" if not FASTNAVDROP else "TRIA_DOWN"
-        icon_wt_handler = "X" if display_tools.WT_handler_enable else "MOD_WIREFRAME"
-
-        layout = self.layout
-
-        # Display Scene options
-        box1 = self.layout.box()
-        col = box1.column(align=True)
-        row = col.row(align=True)
-        row.prop(display_tools, "UiTabDrop", index=2, text="Display", icon=icon_active_2)
-
-        if not SCENEDROP:
-            if obj:
-                row.prop(obj, "show_texture_space", text="", icon="UV_DATA")
-                row.prop(obj, "show_name", text="", icon="OUTLINER_OB_FONT")
-                row.prop(obj, "show_axis", text="", icon="OBJECT_ORIGIN")
-        else:
-            col = layout.column()
-            col.prop(view, "show_manipulator")
-
-            col = layout.column(align=True)
-            col.alignment = 'EXPAND'
-            col.prop(view, "show_only_render", toggle=True)
-            col.prop(view, "show_world", toggle=True)
-            col.prop(view, "show_outline_selected", toggle=True)
-            col.prop(view, "show_all_objects_origin", toggle=True)
-            col.prop(view, "show_backface_culling", toggle=True)
-            if obj:
-                col.prop(obj, "show_in_front", text="X-Ray", toggle=True)
-
-            if obj and obj_type == 'MESH':
-                col.prop(obj, "show_transparent", text="Transparency", toggle=True)
-
-            col = layout.column()
-            col.prop(render, "use_simplify", text ="Simplify", toggle=True)
-
-            if render.use_simplify is True:
-                col = layout.column(align=True)
-                col.label(text="Settings :")
-                col.prop(render, "simplify_subdivision", "Subdivision")
-                col.prop(render, "simplify_shadow_samples", "Shadow Samples")
-                col.prop(render, "simplify_child_particles", "Child Particles")
-                col.prop(render, "simplify_ao_sss", "AO and SSS")
-
-        # Draw Type options
-        box1 = self.layout.box()
-        col = box1.column(align=True)
-        row = col.row(align=True)
-        row.prop(display_tools, "UiTabDrop", index=0, text="Draw Type", icon=icon_active_0)
-
-        if not DISPLAYDROP:
-            hide_wires = row.operator("ut.wire_show_hide", icon="MESH_CIRCLE", text="")
-            hide_wires.show = False
-            hide_wires.selected = False
-            show_wires = row.operator("ut.wire_show_hide", icon="MESH_UVSPHERE", text="")
-            show_wires.show = True
-            show_wires.selected = False
-            row.operator("ut.all_edges", icon="MESH_GRID", text="").on = True
-        else:
-            if obj:
-                col = layout.column(align=True)
-                col.alignment = 'EXPAND'
-                col.label(text="Display As:")
-                col.prop(obj, "display_type", text="", icon=self.display_type_icons[obj.display_type])
-
-            col = layout.column(align=True)
-            col.alignment = 'CENTER'
-            col.label(text="Selected Object(s):")
-            row = col.row(align=True)
-            row.operator("view3d.display_draw_change", text="Wire",
-                         icon='SHADING_WIRE').drawing = 'WIRE'
-            row.operator("view3d.display_draw_change", text="Solid",
-                        icon='SOLID').drawing = 'SOLID'
-            row = col.row()
-            row = col.row(align=True)
-            row.operator("view3d.display_draw_change", text="Textured",
-                         icon="TEXTURE_SHADED").drawing = 'TEXTURED'
-            row.operator("view3d.display_draw_change", text="Bounds",
-                         icon="BBOX").drawing = 'BOUNDS'
-
-            col = layout.column(align=True)
-            col.alignment = 'CENTER'
-            col.label(text="Wire Overlay:")
-
-            row = col.row()
-            row.operator("object.wt_selection_handler_toggle", icon=icon_wt_handler)
-
-            col = layout.column(align=True)
-            col.alignment = 'CENTER'
-            row = col.row(align=True)
-            row.operator("object.wt_hide_all_wire", icon="SOLID", text="Hide All")
-            row.operator("af_ops.wire_all", text="Toggle", icon="WIRE")
-
-            row = col.row()
-            row1 = col.row(align=True)
-            hide_wire = row1.operator("ut.wire_show_hide", icon="MATSPHERE", text="Hide")
-            hide_wire.show = False
-            hide_wire.selected = True
-            show_wire = row1.operator("ut.wire_show_hide", icon="MESH_UVSPHERE", text="Show")
-            show_wire.show = True
-            show_wire.selected = True
-
-            col = layout.column(align=True)
-            col.alignment = 'CENTER'
-            row = col.row()
-            row3 = col.row(align=True)
-            row3.alignment = 'CENTER'
-            row3.label(text="All Edges:")
-            row3.operator("ut.all_edges", icon="MESH_PLANE", text="Off").on = False
-            row3.operator("ut.all_edges", icon="MESH_GRID", text="On").on = True
-
-            col = layout.column(align=True)
-            col.alignment = 'EXPAND'
-            col.label(text="Bounding Box:")
-            row = col.row()
-            row.prop(display_tools, "BoundingMode", text="Type")
-            row = col.row()
-            col.separator()
-            col.operator("view3d.display_bounds_switch", "Bounds On",
-                        icon='BBOX').bounds = True
-            col.operator("view3d.display_bounds_switch", "Bounds Off",
-                        icon='BBOX').bounds = False
-
-        # Shading options
-        box1 = self.layout.box()
-        col = box1.column(align=True)
-        row = col.row(align=True)
-        row.prop(display_tools, "UiTabDrop", index=1, text="Shading", icon=icon_active_1)
-
-        if not SHADINGDROP:
-            row.operator("object.shade_smooth", icon="SMOOTH", text="")
-            row.operator("object.shade_flat", icon="MESH_ICOSPHERE", text="")
-            row.menu("VIEW3D_MT_Shade_menu", icon='SOLID', text="")
-      

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list