[Bf-blender-cvs] [38b68fa8fa4] soc-2019-npr: LANPR: Enable Freestyle mark functions when LANPR is enabled.

YimingWu noreply at git.blender.org
Fri Jul 5 09:06:15 CEST 2019


Commit: 38b68fa8fa42b8c26c7afdcbb29eda806f4a2208
Author: YimingWu
Date:   Fri Jul 5 15:05:34 2019 +0800
Branches: soc-2019-npr
https://developer.blender.org/rB38b68fa8fa42b8c26c7afdcbb29eda806f4a2208

LANPR: Enable Freestyle mark functions when LANPR is enabled.

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

M	release/scripts/startup/bl_ui/space_view3d.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index d8b62e58d18..09b0f6cd215 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3479,7 +3479,7 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
             col.operator("mesh.mark_sharp")
             col.operator("mesh.mark_sharp", text="Clear Sharp").clear = True
 
-            if render.use_freestyle:
+            if render.use_freestyle or context.scene.lanpr.enabled:
                 col.separator()
 
                 col.operator("mesh.mark_freestyle_edge").clear = False



More information about the Bf-blender-cvs mailing list