diff options
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.h')
-rw-r--r-- | source/blender/python/api2_2x/Lamp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Lamp.h b/source/blender/python/api2_2x/Lamp.h index 1e5913ece44..8c1ab134411 100644 --- a/source/blender/python/api2_2x/Lamp.h +++ b/source/blender/python/api2_2x/Lamp.h @@ -39,6 +39,7 @@ #include <BKE_global.h> #include <BKE_object.h> #include <BKE_library.h> +#include <BLI_blenlib.h> #include <DNA_lamp_types.h> #include "constant.h" @@ -79,6 +80,8 @@ #define EXPP_LAMP_SAMPLES_MIN 1 #define EXPP_LAMP_SAMPLES_MAX 16 #define EXPP_LAMP_BUFFERSIZE 512 +#define EXPP_LAMP_BUFFERSIZE_MIN 512 +#define EXPP_LAMP_BUFFERSIZE_MAX 5120 #define EXPP_LAMP_ENERGY 1.0 #define EXPP_LAMP_ENERGY_MIN 0.0 #define EXPP_LAMP_ENERGY_MAX 10.0 |