From e5d292604cd8c9860efc869db99a2d424e26e869 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 14 Jun 2013 20:43:54 +0000 Subject: [PATCH] Fix for splitting at material boundaries not correctly working with border lines. Problem report by Charblaze in the BlenderArtists.org Freestyle thread, thanks! --- .../intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp index 7e96aa43e76..eeae10412fc 100644 --- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp @@ -290,7 +290,7 @@ PyDoc_STRVAR(FEdgeSharp_material_index_left_doc, static PyObject *FEdgeSharp_material_index_left_get(BPy_FEdgeSharp *self, void *UNUSED(closure)) { - return PyLong_FromLong(self->fes->aFrsMaterialIndex()); + return PyLong_FromLong(self->fes->bFrsMaterialIndex()); } static int FEdgeSharp_material_index_left_set(BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure))