Cleanup: remove deprecated old Lamp.shadspotsize from code.
Was not used anymore, except in Collada import/export, but without any conversion code. Suggested by Brecht in comments of D59.
This commit is contained in:
@@ -70,7 +70,6 @@ Lamp *BKE_lamp_add(Main *bmain, const char *name)
|
||||
la->bufsize = 512;
|
||||
la->clipsta = 0.5f;
|
||||
la->clipend = 40.0f;
|
||||
la->shadspotsize = 45.0f;
|
||||
la->samp = 3;
|
||||
la->bias = 1.0f;
|
||||
la->soft = 3.0f;
|
||||
|
||||
@@ -1134,7 +1134,6 @@ bool DocumentImporter::writeLight(const COLLADAFW::Light *light)
|
||||
et->setData("falloff_type", &(lamp->falloff_type));
|
||||
et->setData("clipsta", &(lamp->clipsta));
|
||||
et->setData("clipend", &(lamp->clipend));
|
||||
et->setData("shadspotsize", &(lamp->shadspotsize));
|
||||
et->setData("bias", &(lamp->bias));
|
||||
et->setData("soft", &(lamp->soft));
|
||||
et->setData("compressthresh", &(lamp->compressthresh));
|
||||
|
||||
@@ -156,7 +156,6 @@ bool LightsExporter::exportBlenderProfile(COLLADASW::Light &cla, Lamp *la)
|
||||
cla.addExtraTechniqueParameter("blender", "falloff_type", la->falloff_type);
|
||||
cla.addExtraTechniqueParameter("blender", "clipsta", la->clipsta);
|
||||
cla.addExtraTechniqueParameter("blender", "clipend", la->clipend);
|
||||
cla.addExtraTechniqueParameter("blender", "shadspotsize", la->shadspotsize);
|
||||
cla.addExtraTechniqueParameter("blender", "bias", la->bias);
|
||||
cla.addExtraTechniqueParameter("blender", "soft", la->soft);
|
||||
cla.addExtraTechniqueParameter("blender", "compressthresh", la->compressthresh);
|
||||
|
||||
@@ -65,8 +65,8 @@ typedef struct Lamp {
|
||||
short falloff_type;
|
||||
short pad2;
|
||||
|
||||
float clipsta, clipend, shadspotsize;
|
||||
float bias, soft, compressthresh, bleedbias, pad5[2];
|
||||
float clipsta, clipend;
|
||||
float bias, soft, compressthresh, bleedbias, pad5;
|
||||
short bufsize, samp, buffers, filtertype;
|
||||
char bufflag, buftype;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user