Blender Git Loki

Git Commits -> Revision c48c20b

Revision c48c20b by Antonis Ryakiotakis (master)
February 3, 2015, 15:18 (GMT)
Fix T43530 using blender on remote connection crashes

Issue here is that remote connection will use OpenGL 1.1.
There was a call here that would free VBOs always without a check,
however the VBO free function pointer is NULL on such contexts causing a
crash.

This must have been causing some of the crashes with old contexts. While
I think supporting those systems is not such a good idea in general,
they can have a few more moments of support I guess.

Things might be better now for systems using OGL 1.1 though there are
still things that could be done better here - for instance going to
dyntopo can crash immediately because we don't have a fallback
implementation there. It might be worth reimplementing sculpting with
vertex arrays for the legacy case too, but I guess if we move on to
OpenGL 2.1 soon this is a bit of a wasted effort.

Commit Details:

Full Hash: c48c20b498d97cd4b9d31d040872fac82f0f70aa
Parent Commit: 2d4980e
Lines Changed: +4, -2

1 Modified Path:

/source/blender/gpu/intern/gpu_buffers.c (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021