Cleanup: unused code
This commit is contained in:
@@ -1503,16 +1503,6 @@ static void _scan_for_ext_spring_forces(Scene *scene, Object *ob, float timenow,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void scan_for_ext_spring_forces(struct Depsgraph *depsgraph, Scene *scene, Object *ob, float timenow)
|
||||
{
|
||||
SoftBody *sb = ob->soft;
|
||||
|
||||
ListBase *effectors = BKE_effectors_create(depsgraph, ob, NULL, sb->effector_weights);
|
||||
_scan_for_ext_spring_forces(scene, ob, timenow, 0, sb->totspring, effectors);
|
||||
BKE_effectors_free(effectors);
|
||||
}
|
||||
|
||||
static void *exec_scan_for_ext_spring_forces(void *data)
|
||||
{
|
||||
SB_thread_context *pctx = (SB_thread_context*)data;
|
||||
|
||||
@@ -437,9 +437,6 @@ void GPU_create_gl_tex(
|
||||
{
|
||||
ImBuf *ibuf = NULL;
|
||||
|
||||
int tpx = rectw;
|
||||
int tpy = recth;
|
||||
|
||||
/* create image */
|
||||
glGenTextures(1, (GLuint *)bind);
|
||||
glBindTexture(textarget, *bind);
|
||||
|
||||
Reference in New Issue
Block a user