[Bf-blender-cvs] [27660b3cd90] master: Fix: Text object custom profile bevel not written to file

Hans Goudey noreply at git.blender.org
Wed Sep 16 23:05:26 CEST 2020


Commit: 27660b3cd90d7ac2ade613e2fe0c750bc53a805a
Author: Hans Goudey
Date:   Wed Sep 16 16:05:17 2020 -0500
Branches: master
https://developer.blender.org/rB27660b3cd90d7ac2ade613e2fe0c750bc53a805a

Fix: Text object custom profile bevel not written to file

The CurveProfile struct was only being written to the file for regular
curve objects. Caused by an incorrect merge of master before committing.

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

M	source/blender/blenkernel/intern/curve.c

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

diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index 24be6708785..7a6488eb1f6 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -186,10 +186,10 @@ static void curve_blend_write(BlendWriter *writer, ID *id, const void *id_addres
           }
         }
       }
+    }
 
-      if (cu->bevel_profile != NULL) {
-        BKE_curveprofile_blend_write(writer, cu->bevel_profile);
-      }
+    if (cu->bevel_profile != NULL) {
+      BKE_curveprofile_blend_write(writer, cu->bevel_profile);
     }
   }
 }



More information about the Bf-blender-cvs mailing list