Revision 75aa866 by Germano Cavalcante February 4, 2017, 22:01 (GMT) |
Optimize BVHTree creation of vertices that have BLI_bitmap test Instead of reference the vertex first and test the bitmap afterwards. Test the bitmap first and reference the vertex after. In a mesh with 31146 vertices and the entire bitmap disabled, the loop time is 243% faster With all bitmap enabled, the time becomes 463473% faster!!! One possible reason for this huge difference in peformance is that maybe the compiler is not putting the function "BM_vert_at_index" inline (I dont know if buildbot do this, but it's good to investigate). |
Revision 47caf34 by Germano Cavalcante February 4, 2017, 21:17 (GMT) |
Revision a2c469e by Bastien Montagne February 4, 2017, 20:51 (GMT) |
Fix (unreported) crash in new snap code. Looks like `object_map` and `mem_arena` may be NULL sometimes... Also, cleaned up function pointers declaration of Nearest2dUserData, those were warning out in gcc. Please, *always* use typdef defined prototypes for function pointers, it is sooooo much cleaner and clearer that way. And easy to convert from compatible functions too. |
Revision 6663099 by Bastien Montagne February 4, 2017, 20:31 (GMT) |
Fix T50590: BI lamp doesn't hold a texture in this case. BKE_lamp_free was somehow missing the refactor of datablocks handling (which, among other things, completely separated ID refcounting and linking management from ID freeing itself). Either forgot during development, or lost during merge... |
Revision c367e23 by Germano Cavalcante February 3, 2017, 23:08 (GMT) |
Snap System: Use callbaks to differentiate how referenced vertives of DerivedMeshs and Bmeshs Before it was informed the type of object in the `userdata`, and a same function ran between the types to obtain the coordinates of the vertices |
Revision a0561a0 by Germano Cavalcante February 3, 2017, 22:03 (GMT) |
Remove flag: `SNAP_OBJECT_USE_CACHE` from snap_context Since the cache is created in one way or another, this flag is not really making a difference More details here: D2496 |
Revision 21f3767 by Germano Cavalcante February 3, 2017, 16:15 (GMT) |
fix T46892: snap to closest point now works with Individual Origins The code looks for the closest element between its centers. In the case of islands, the center of each vertex is the center of the island. The solution here is to skip the search for islands when the operation is translation |
Revision 0b4a9ca by Germano Cavalcante February 3, 2017, 15:57 (GMT) |
Forgotten in committee ddf99214dc06 In obect mode, the rotation matrix need to be restored to the initial value if a snap point is not found |
Revision 0e459ad by Sergey Sharybin February 3, 2017, 15:11 (GMT) |
Buildbot: Re-enable cuda support for OSX |
Revision 52696a0 by Bastien Montagne February 3, 2017, 15:10 (GMT) |
Fix T50125: Shortcut keys missing in menus for Clear Location, Rotation, and Scale. Menu entries and shortcuts did not have exact same behavior, now they do (using shortcuts' behavior). |
Revision 520ced4 by Clément Foucault February 3, 2017, 15:01 (GMT) |
Modifications to GPU_texture: -Remove NPOT check as it should be supported by default with OGL 3.3 -All custom texture creation follow the same path now -Now explicit texture format is required when creating a custom texture (Non RGBA8) -Support for arrays of textures Reviewers: dfelinto, merwin Differential Revision: https://developer.blender.org/D2452 |
Revision f3a7104 by Bastien Montagne February 3, 2017, 14:47 (GMT) |
Fix T49860: Copying vgroups between objects sharing the same obdata was not possible. Pretty straight forward actually, just do not bother about obdata part of vgroups in that case, only copy object part of it. And let's curse once again those stuff spread accross several types of data-blocks... |
Revision a1820af by Sergey Sharybin February 3, 2017, 13:05 (GMT) |
Depsgraph: Add some extra debug prints on eval |
Revision 030e995 by Sergey Sharybin February 3, 2017, 11:03 (GMT) |
Tests: Use proper order for EXPECT_EQ() |
Revision aea17a6 by Sergey Sharybin February 3, 2017, 10:52 (GMT) |
Tests: Use EXPECT_FALSE() instead of EXPECT_EQ(foo, false) |
Revision dc1b45f by Sergey Sharybin February 3, 2017, 10:52 (GMT) |
Tests: Use EXPECT_TRUE() instead of EXPECT_EQ(foo, true) |
Revision e1e8545 by Sergey Sharybin February 3, 2017, 10:35 (GMT) |
Cycles: Cleanup, order of arguments to EXPECT_EQ The order was wrong from the semantic point of view, caused by some legacy workarounds in Libmv. Didn't realize it's was not how things were expected to be used. |
Revision 103f265 by Sergey Sharybin February 3, 2017, 10:03 (GMT) |
Explode modifier: Don't tessellate DM if we are not going to apply modifier |
Revision ddf9921 by Germano Cavalcante February 3, 2017, 05:27 (GMT) |
fix T49494: snap_align_rotation should use a local pivot to make the transformation The problem was simple, just transform the global coordinates of t->tsnap.snapTarget to local coordinates. (Some comments were added to the code) |
February 3, 2017, 01:21 (GMT) |
Fix shaders in some immBindBuiltinProgram calls Had mistakenly used 3D shaders for some 2D drawings... Replaced those now. Part of T49043 |
|
|
|


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