Cleanup: style, use braces for blenkernel
[blender.git] / source / blender / blenkernel / intern / light.c
index f0943bc..0a7cb2a 100644 (file)
@@ -144,8 +144,9 @@ Light *BKE_light_localize(Light *la)
 
   lan->curfalloff = curvemapping_copy(la->curfalloff);
 
-  if (la->nodetree)
+  if (la->nodetree) {
     lan->nodetree = ntreeLocalize(la->nodetree);
+  }
 
   lan->preview = NULL;