Revision b2f91d8 by Sergey Sharybin July 22, 2016, 13:13 (GMT) |
OpenSubdiv: Use BLI module math functions It became rather annoying to have those functions duplicated. Surely, it's not really nice it's actually a bad level call, but similar thing is happening in OCIO and Cycles. IMO, it's better than having functions re-implemented, and have this solved with new OpenGL pipeline. |
Revision 165f710 by Sergey Sharybin July 22, 2016, 13:08 (GMT) |
OpenSubdiv: Make drawing code a bit more flexible for FVar width |
Revision ccd51bb by Sergey Sharybin July 22, 2016, 12:56 (GMT) |
OpenSubdiv: Properly support active UV layer in textured view |
Revision 48c4b70 by Sergey Sharybin July 22, 2016, 12:56 (GMT) |
OpenSubdiv: Lay down fundamentals to support multiple UV maps |
Revision 98970f7 by Sergey Sharybin July 22, 2016, 12:56 (GMT) |
OpenSubdiv: Get number of UVs from topology refiner This allows us to store more than one UV layer in the UVs array. |
Revision 177c4af by Sergey Sharybin July 22, 2016, 12:56 (GMT) |
OpenSubdiv: Cleanup, please don't use insanely long lines |
Revision adf97ed by Sergey Sharybin July 22, 2016, 12:56 (GMT) |
OpenSubdiv: Cleanup, don't use camel case for variable names |
Revision e803786 by Campbell Barton July 22, 2016, 08:18 (GMT) |
Correct mistake comparing vertices |
Revision a7e742f by Mike Erwin July 22, 2016, 06:17 (GMT) |
use bool consistently, fix redundant conditional Redundant conditional (line 939) found with PVS-Studio T48917 There?s still a lot of true/false, 1/0, SELECT/DESELECT usage nearby. Not a problem, just confusing to read. |
Revision 2b77b1c by Mike Erwin July 22, 2016, 06:17 (GMT) |
remove double-checked conditions Checking a condition right after we?ve checked it (and it hasn?t changed). Most of these are trivial to understand. split_quads in convertblender.c: It seems quads should be processed and triangles should be marked as not needing split. So I removed the outer vlr->v4 check. Found with PVS-Studio T48917 |
Revision bd52875 by Campbell Barton July 22, 2016, 05:51 (GMT) |
Add Subdivide Edge-Ring to menu |
Revision 192df29 by Campbell Barton July 22, 2016, 05:45 (GMT) |
Revision 08e1bba by Mike Erwin July 21, 2016, 22:52 (GMT) |
fix confusing operator precedence Assigning within a conditional is confusing and error prone so I rewrote in a more straightforward way. Found with PVS-Studio T48917 |
Revision 9ff8d4a by Mike Erwin July 21, 2016, 22:26 (GMT) |
Revision 7c99b71 by Mike Erwin July 21, 2016, 22:16 (GMT) |
Revision 23f1b20 by Mike Erwin July 21, 2016, 22:16 (GMT) |
fix comparison of identicals Some of these check that dimensions match before running code that assumes they do match. For imb_stereo3d_write_anaglyph I *assume* this change reflects the intended behavior. Before it was always grabbing alpha from buffer 0. Found with PVS-Studio T48917 |
Revision d1f9342 by Campbell Barton July 21, 2016, 21:33 (GMT) |
Cleanup: pass pointer to texture draw state |
Revision cddef55 by Campbell Barton July 21, 2016, 21:22 (GMT) |
BMesh: compare face angles as angles cosine |
Revision 875c131 by Bastien Montagne July 21, 2016, 21:07 (GMT) |
Fix broken proxy object deletion. Check to ensure we do not delete last instancing of an indirectly used object (forbidden because it creates 'ghost' objects user have no real way to re-instance) was defeated by the backward pointer 'proxy_from', which generated a 'false' indirect usage of (local) proxy object itself (the one we are trying to delete). Fixed by actually considering that ID usage as local if proxy object itself is local (because that pointer actually does not 'pertain' to the object holding it, but to its proxy). Yeah, it's... complicated, twisted and ugly - it's proxy. |
Revision 6ebce7e by Mike Erwin July 21, 2016, 19:53 (GMT) |
fix typo in condition (A - A).norm() is always 0 so condition is always true. (A - B).norm() and (B - A).norm() both compute the same distance so I picked one to match surrounding code. Found with PVS-Studio T48917 |
|
|
|


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