Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-04Remove flag: `SNAP_OBJECT_USE_CACHE` from snap_contextGermano Cavalcante
Since the cache is created in one way or another, this flag is not really making a difference More details here: D2496
2017-02-03fix T46892: snap to closest point now works with Individual OriginsGermano Cavalcante
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
2017-02-03Forgotten in committee ddf99214dc06Germano Cavalcante
In obect mode, the rotation matrix need to be restored to the initial value if a snap point is not found
2017-02-03Buildbot: Re-enable cuda support for OSXSergey Sharybin
2017-02-03Fix T50125: Shortcut keys missing in menus for Clear Location, Rotation, and ↵Bastien Montagne
Scale. Menu entries and shortcuts did not have exact same behavior, now they do (using shortcuts' behavior).
2017-02-03Fix T49860: Copying vgroups between objects sharing the same obdata was not ↵Bastien Montagne
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...
2017-02-03Depsgraph: Add some extra debug prints on evalSergey Sharybin
2017-02-03Tests: Use proper order for EXPECT_EQ()Sergey Sharybin
2017-02-03Tests: Use EXPECT_FALSE() instead of EXPECT_EQ(foo, false)Sergey Sharybin
2017-02-03Tests: Use EXPECT_TRUE() instead of EXPECT_EQ(foo, true)Sergey Sharybin
2017-02-03Cycles: Cleanup, order of arguments to EXPECT_EQSergey Sharybin
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.
2017-02-03Explode modifier: Don't tessellate DM if we are not going to apply modifierSergey Sharybin
2017-02-03fix T49494: snap_align_rotation should use a local pivot to make the ↵Germano Cavalcante
transformation The problem was simple, just transform the global coordinates of t->tsnap.snapTarget to local coordinates. (Some comments were added to the code)
2017-02-02Fix T50084: Adding torus re-orders UV layers.Bastien Montagne
Issue was indeed in join operation, mesh in which we join all others could be re-added to final data after others, leading to undesired re-ordering of CD layers, and existing vertices etc. being shifted away from their original indices, etc. All kind of more or less bad and undesired changes, fixed by always re-inserting destination mesh first. Also cleaned up a bit that code, it was doing some rather non-recommanded things (like allocating zero-sized mem, doing own coocking to remove a data-block from main, etc.).
2017-02-02install_deps.sh: don't use backticksSybren A. Stüvel
The script complained that it could not find the executable "--build-all".
2017-02-02Fix T50524: Basis shapekey editing while rendering bug.Bastien Montagne
Root of the issue was BM_mesh_bm_to_me() breaking application of basis offset to 'child' shapekeys, when called more than once from same BMesh.
2017-02-02Fix T50497: prop_search not correctly drew in UI (D2473)raa
2017-02-02Fix T50535: Cycles render segfault when Explode modifier before hair ↵Sergey Sharybin
particle modifier + UV material Tricky issue caused by CDDM_copy() coying MFACE array but not MTFACE which confused logic later on. Now we don't copy ANY tessellation unless it is requested to. Thanks Bastien for help and review!
2017-02-02Revert the change of a default in a recent commitAaron Carlisle
This was my own mistake
2017-02-02Fix incorrect spot lamp blend in python GPU uniform export.Michael Stahre
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2378
2017-02-02Fix missing uniform type for python GPU uniform export.Michael Stahre
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2379
2017-02-01UI: Add missing colonAaron
2017-02-01Fix T50570: pressing pgup or pgdn in any scrollable area irreversably alters ↵Bastien Montagne
scrolling speed. 'page' prop of scroll up/down operators would get stuck once set once by pageup/down keys... Now only take this prop into account if explicitely set, not when its value is inherited from previous run.
2017-02-01Cycles tests: Allow python auto-execSergey Sharybin
2017-02-01Cycles: Fix rng_state initialization when using resumable renderingLukas Stockner
2017-02-01Snap System: BVH: Ignore calculations, in parent nodes, used only in ↵Germano Cavalcante
perspective view Strangely this change does not affect the performance very much. Suzanne subdividide 6x (ortho view): Before:0.00013983 After :0.00013920 But it makes it easier to read the code
2017-01-31Snap System: Invert the test order of the elements to snap (useful for ruler)Germano Cavalcante
When the function that tests snap on multiple elements starts from the face and ends at the vertex, the transition between elements becomes much smoother.
2017-01-31Fix T50331: New Dependency Graph - "frame" python driver expression not workingSergey Sharybin
2017-01-31Cycles: Fix spelling in commentSergey Sharybin
2017-01-31Fix variable shadow and avoid calculating same value twiceSergey Sharybin
2017-01-31Silence unused var warnings after rBac58a7faDalai Felinto
2017-01-31Cleanup: use 'cb_flag', not 'cd_flag' for library_query callbacks.Bastien Montagne
`cd_flag` tends to be used for CustomData flags in mesh area, while for library_query those are rather callback flags...
2017-01-31Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`Bastien Montagne
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
2017-01-31Fix compilation error: too few arguments to function call.Kévin Dietrich
D2492 by @tomjpsun.
2017-01-31Fix bug not reported: Ruler/Protractor: Snap to vertices and edges was not ↵Germano Cavalcante
considering the depth variation Taking advantage of the area, the depth is decreased 0.01 BU to each loop to give priority to elements in order: Vertice > Edge > Face. This increases the threshold and improves the snap to multiple elements
2017-01-31Snap System: Return depth by snapping to edges and vertices, because the ↵Germano Cavalcante
Ruler only works right this way The Ruler snaps to the element with the lowest depth.
2017-01-31Use the same solution to test the pixel distance to the AABB, with BoundBoxGermano Cavalcante
The previous solution took arbitrary values to determine if the mouse was near or not to the Bound Box (it simply scaled the Bound Box). Now the same function that detected the distance from the BVHTree nodes to the mouse is used in the Bound Box
2017-01-31Freestyle: Use of the Fill Range by Selection operator in the mesh edit mode.Tamito Kajiyama
This revision extends the functionality of the "Fill Range by Selection" button in the "Distance from Camera/Object" modifiers so that only selected mesh vertices in the edit mode are taken into account (instead of considering all vertices when in the object mode) to compute the min & max distances from the reference. This will give users much finer control on the range values.
2017-01-31Make 'make local' twice quicker.Bastien Montagne
Use new Main->relations ID usages mapping in BKE_library_make_local(). This allows a noticeable simplification in code, and can be up to twice quicker as previous code (Make Local: All from 2 to 1 minute e.g. in a huge production file with thousands of linked data-blocks). Note that new code has been successfuly tested with several complex cases (production files from Agent327), as well as some testcases from recent bug reports related to that function. But as always, nothing beats real usage by real users, so please check this before we release 2.79. ;) Main areas that would be affected: Make Local operations (L shortcut in 3DView), and append from libraries.
2017-01-31Optimization: pass Main to BKE_library_foreach_ID_link() and use its relations.Bastien Montagne
Use Main->relations in BKE_library_foreach_ID_link(), when possible (i.e. IDWALK_READONLY is set), and if the data is available of course. This is quite minor optimization, no sensible improvements are expected, but does not hurt either to avoid potentially tens of looping over e.g. objects constraints and modifiers, or heap of drivers...
2017-01-31Fix missing non-ID nodetrees in ID relationships built from library_query.cBastien Montagne
This shall fix both existing code (bpy mapping, and local/lib usages checks), and new Main->relations generation.
2017-01-31Add optional, free-after-use usages mapping of IDs to Main.Bastien Montagne
The new MainIDRelations stores two mappings, one from ID users to ID used, the other vice-versa. That data is assumed to be short-living runtime, code creating it is responsible to clear it asap. It will be much useful in places where we handle relations between IDs for a lot of them at once. Note: This commit is not fully functional, that is, the infamous, ugly, PoS non-ID nodetrees will not be handled correctly when building relations. Fix needed here is a bit noisy, so will be done in next own commit.
2017-01-31Fix T49632: Grease pencil in "Edit Strokes" mode: Snap tool did not snap ↵Germano Cavalcante
points to active object A simple confusion between enums: ~SNAP_NOT_ACTIVE~
2017-01-30Alembic/CacheFile: fix crash de-referencing NULL pointer.Kévin Dietrich
2017-01-30Cleanup: Unused function and and variables in snap codeSergey Sharybin
Please doublecheck ED_transform_snap_object_project_ray_ex() is really valid, it's weird to have extra arguments here unused.
2017-01-30Snap System: BVH: ignore AABBs behind rayGermano Cavalcante
This provides a slight improvement in performance in specific cases, such as when the observer is inside a high poly object and executes snap to edge or vertex
2017-01-30Fix unreported bug: parameter ray_start repeatedGermano Cavalcante
The bug would only be seen in terms of performance
2017-01-30Solve compilation error: Field has incomplete type 'enum eViewProj'Germano Cavalcante
Error reported by @tomjpsun Patch D2491
2017-01-30Freestyle: Fix (unreported) wrong distance calculation in the Fill Range by ↵Tamito Kajiyama
Selection operator. Distance calculation performed by the "Fill Range by Selection" button of the "Distance from Camera" color, alpha and thickness modifiers was incorrect, limiting the usefulness of the functionality. The problem was that the distance between the camera and individual vertex locations was calculated in the world space, which was inconsistent with the distance calculation done by the modifiers in the camera space.
2017-01-29Remove `BKE_boundbox_ray_hit_check`Germano Cavalcante
Remove `BKE_boundbox_ray_hit_check` since it is no longer being used and can be easily replaced by `isect_ray_aabb_v3_simple`