[Bf-blender-cvs] [ad0edc626d3] master: Cleanup: unused World struct members linfac, logfac
Campbell Barton
noreply at git.blender.org
Tue Jul 7 04:51:25 CEST 2020
Commit: ad0edc626d3668424a7c6d172a1be716ae932021
Author: Campbell Barton
Date: Tue Jul 7 12:43:45 2020 +1000
Branches: master
https://developer.blender.org/rBad0edc626d3668424a7c6d172a1be716ae932021
Cleanup: unused World struct members linfac, logfac
===================================================================
M source/blender/makesdna/DNA_world_types.h
===================================================================
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index f9198194a89..dff07f515b1 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -51,12 +51,10 @@ typedef struct World {
float horr, horg, horb;
/**
- * Exposure= mult factor. unused now, but maybe back later. Kept in to be upward compat.
- * New is exp/range control. linfac & logfac are constants... don't belong in
- * file, but allocating 8 bytes for temp mem isn't useful either.
+ * Exposure is a multiplication factor. Unused now, but maybe back later.
+ * Kept in to be upward compatible.
*/
float exposure, exp, range;
- float linfac, logfac;
/**
* Some world modes
More information about the Bf-blender-cvs
mailing list