April 2, 2015, 09:04 (GMT) |
Disallow deleting of files by the point cache in the `clear` function. This function is used in every part of the code, and has been causing great pain when deleting 15 hours worth of baking in an instant. The complexity of the code makes it unfeasible to fix this selectively, so for now simply disallow the code from deleting any of the files. For selected well-defined cases the deleting can be reenabled later, e.g. when the user presses the `Bake` button and confirms deletion in a popup. |
April 2, 2015, 09:04 (GMT) |
Removed unused `BKE_ptcache_remove` function, one less potential place where cache files might get deleted. |
April 2, 2015, 08:38 (GMT) |
FileBrowser: cleanup (remove) all the thumbnails job stuff, no more needed. |
April 2, 2015, 08:27 (GMT) |
FileBrowser: Fix sorting/filtering (we need to clear the cache in those cases!). |
April 2, 2015, 08:17 (GMT) |
Merge branch 'master' into asset-experiments |
April 2, 2015, 01:29 (GMT) |
fix errors & warnings toggling all #defines |
April 2, 2015, 00:37 (GMT) |
fix VAOs on Mac legacy context GLEW gives us glBindVertexArray and friends but sets them to NULL, since Apple uses GL_APPLE_vertex_array_object instead of GL_ARB_vertex_array_object. The ARB version evolved from the APPLE version and theyâ??re used in exactly the same way, so I aliased them to keep our VAO code simple. |
April 2, 2015, 00:28 (GMT) |
fix another Mac crasher According to LLDB everything we pass to glVertexPointer and glDrawElements seems perfectly OK, but for some reason it crashes in the driver. With this change I was finally able to run this branch! Until sync-ing with todayâ??s matrix module. |
April 2, 2015, 00:18 (GMT) |
move glColor outside loop instead of repeatedly setting the same color |
April 2, 2015, 00:15 (GMT) |
cleanup no functional change |
April 2, 2015, 00:13 (GMT) |
fix VAOs on Mac legacy context Was causing crash on launch. GLEW gives us glBindVertexArray and friends but sets them to NULL, since Apple uses GL_APPLE_vertex_array_object instead of GL_ARB_vertex_array_object. The ARB version evolved from the APPLE version and theyâ??re used in exactly the same way, so I aliased them to keep our VAO code simple. |
April 1, 2015, 20:26 (GMT) |
FileBrowser new preview code: bunch of fixes. Start to looks good... This commit adds a new timer helper, that only send notifiers (kind of very restricted subset of wm_job stuff), since using jobs for previews would be now counter-productive and way too much heavy. Also fix/enhance how previews are generated (order), etc. etc. Still WIP though, having some weird crashes and such lurking around. |
April 1, 2015, 18:54 (GMT) |
Matrix module: substitution WIP. Warning - don't open blender up or it will hang your computer |
April 1, 2015, 18:54 (GMT) |
Small cleanup |
April 1, 2015, 18:31 (GMT) |
Clear duplilist instances when reading from a dupli cache, to avoid generating a new dupli instance on every frame. |
April 1, 2015, 18:27 (GMT) |
Made the duplicache clear function public. It's a common operation that may be useful later, no reason to keep this hidden. |
April 1, 2015, 18:25 (GMT) |
more minor cleanup |
April 1, 2015, 18:25 (GMT) |
fix array range check Allowed writing past the bufferâ??s end. Thanks, clang! |
April 1, 2015, 18:25 (GMT) |
use reciprocals for vertex data conversion * is faster than / even on modern CPUs. If we care to inline, speed is a concern here. |
April 1, 2015, 18:25 (GMT) |
minor cleanup |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021