[Bf-blender-cvs] [1c8d9cc] master: Freestyle: Fix for irrelevant docstring showing up in Python API docs.

Tamito Kajiyama noreply at git.blender.org
Fri Sep 19 07:12:08 CEST 2014


Commit: 1c8d9cc4a923c0b0d8cc5f2ec10347b1db3b789c
Author: Tamito Kajiyama
Date:   Fri Sep 19 14:11:32 2014 +0900
Branches: master
https://developer.blender.org/rB1c8d9cc4a923c0b0d8cc5f2ec10347b1db3b789c

Freestyle: Fix for irrelevant docstring showing up in Python API docs.

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

M	release/scripts/freestyle/modules/freestyle/shaders.py

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

diff --git a/release/scripts/freestyle/modules/freestyle/shaders.py b/release/scripts/freestyle/modules/freestyle/shaders.py
index 108f568..508df7f 100644
--- a/release/scripts/freestyle/modules/freestyle/shaders.py
+++ b/release/scripts/freestyle/modules/freestyle/shaders.py
@@ -741,10 +741,8 @@ class pyTipRemoverShader(StrokeShader):
 
     @staticmethod
     def check_vertex(v, length):
-        """
-        Returns True if the given strokevertex is less than self._l away
-        from the stroke's tip and therefore should be removed.
-        """
+        # Returns True if the given strokevertex is less than self._l away
+        # from the stroke's tip and therefore should be removed.
         return (v.curvilinear_abscissa < length or v.stroke_length-v.curvilinear_abscissa < length)
 
     def shade(self, stroke):




More information about the Bf-blender-cvs mailing list