Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2007-02-09 16:06:43 +0300
committerTon Roosendaal <ton@blender.org>2007-02-09 16:06:43 +0300
commit23980a1783c4889bfb7b090b03e1fda6b42981c3 (patch)
treee47e59451b5420d07f33df14df52e3931add3741 /source/blender/src/retopo.c
parent65a4debc724b60c7f32a48bb27791ea2b288c7a2 (diff)
Bugfix #5971
Crash in retopo paint, caused by missing NULL test. Fix provided by reporter, thanks Stephan Kassemeyer!
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r--source/blender/src/retopo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c
index 619f4ac6138..3f93edee9cd 100644
--- a/source/blender/src/retopo.c
+++ b/source/blender/src/retopo.c
@@ -336,6 +336,8 @@ RetopoPaintLine *add_rpline(RetopoPaintData *rpd)
void retopo_paint_toggle_cyclic(RetopoPaintLine *l)
{
+ if(l==NULL)
+ return;
if(!l->cyclic) {
RetopoPaintPoint *pf= l->points.first;