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-03-12BMesh: rename cryptic functionsCampbell Barton
Use expanded names for bmesh primitive operations (urmv jvke semv jfke). Use 'bmesh_kernel_' prefix, these functions aren't intended for wide use so favor readability. Remove BM_face_vert_separate, it wasn't used and only skipped step of finding correct loop of face.
2017-03-12Fix T50788: blender startup crash on macOS with some types of volumes available.Brecht Van Lommel
2017-03-11Fix icon alignment for pie buttonsraa
2017-03-11Cleanup: code style & cmakeCampbell Barton
2017-03-11Add support for Objects in Drive variable `Rotational Difference`Germano Cavalcante
Thus it is according to the Manual https://docs.blender.org/manual/en/dev/animation/drivers/drivers_panel.html#driver-variables
2017-03-11BMesh: add BM_mesh_separate_facesCampbell Barton
Fast-path for bmesh split operator which duplicates and deletes. Use when only separating faces, currently used by the intersect tool.
2017-03-11Fix text and icon positioning issue on high DPI, after recent changes in ↵Brecht Van Lommel
32c5f3d.
2017-03-11Breakdowner - Constrain Transform and AxisJoshua Leung
This commit adds new features to the breakdowner, giving animators more control over what gets interpolated by the breakdowner. Specifically: "Just as G R S let you move rotate scale, and then X Y Z let you do that in one desired axis, when using the Breakdower it would be great to be able to add GRS and XYZ to constrain what transform / axis is being breakdowned." As requested here: https://rightclickselect.com/p/animation/csbbbc/breakdowner-constrain-transform-and-axis Notes: * In addition to G/R/S, there's also B (Bendy Bone settings and C (custom properties) * Pressing G/R/S/B/C or X/Y/Z again will turn these constraints off again
2017-03-10Fix T50900: Text-Blocks created from "Edit Source" have zero users.Bastien Montagne
2017-03-10Cleanup: rename drawObjectSelectCampbell Barton
After adding draw_object_select, noticed a similar name. Rename drawObjectSelect to draw_object_selected_outline.
2017-03-10Fix T47690: Connected PET w/ individual originsCampbell Barton
- Connectivity length was overwritten by distance to closest selected. - Vertices used the 'island' center of the closest vertex, even if it wasn't connected. Now optionally keep track of the original index of used as the closest connected distance. To support this needed to add optional support for islands of 1 vertex.
2017-03-10Fix T50904: Imprecise timeline frame selection using mouseJoshua Leung
The changes introduced in rB3e628eefa9f55fac7b0faaec4fd4392c2de6b20e made the non-subframe frame change behaviour less intuitive, by always truncating downwards, instead of rounding to the nearest frame instead. This made the UI a lot less forgiving of pointing precision errors (for example, as a result of hand shake, or using a tablet on a highres scren) This commit restores the old behaviour in this case only (subframe inspection isn't affected by these changes)
2017-03-093D View: x-ray support for depth pickingCampbell Barton
Selection loop would draw the selection ignoring xray. Now draw in a separate pass after clearing the depth buffer, as with regular drawing. Also disable depth sorting, caller can sort the hit-list by depth if needed.
2017-03-09Remove (ifdef) draw_documentation from text_draw.cDalai Felinto
This was no longer supported.
2017-03-093D View: wrap GPU_select cache callsCampbell Barton
Avoids including GPU_select and makes it more clear that the cache is needed for view3d_opengl_select calls. Also use typed enum for select mode.
2017-03-093D View: use cache for armature selectCampbell Barton
2017-03-083D View: new nethod of opengl selectionCampbell Barton
Intended to replace legacy GL_SELECT, without the limitations of sample queries which can't access depth information. This commit adds VIEW3D_SELECT_PICK_NEAREST and VIEW3D_SELECT_PICK_ALL which access the depth buffers to detect whats under the pointer, so initial selection is always the closest item. The performance of this method depends a lot on the OpenGL implementations glReadPixels. Since reading depth can be slow, buffers are cached for object picking so selecting re-uses depth data, performing 1 draw instead of 3 (for 24, 18, 10 px regions, picking with many items under the pointer). Occlusion queries draw twice when picking nearest, so worst case 6x draw calls per selection. Even with these improvements occlusion queries is faster on AMD hardware. Depth selection is disabled by default, toggle option under select method. May enable by default if this works well on different hardware. Reviewed as D2543
2017-03-08OpenGL Select: integer rect for passing regionCampbell Barton
2017-03-08Cleanup: replace short -> int for selection hitsCampbell Barton
2017-03-08Rename BLI_rct*_init_pt_size -> radiusCampbell Barton
2017-03-07Task scheduler: Remove per-pool threads limitSergey Sharybin
This feature was adding extra complexity to task scheduling which required yet extra variables to be worried about to be modified in atomic manner, which resulted in following issues: - More complex code to maintain, which increases risks of something going wrong when we modify the code. - Extra barriers and/or locks during task scheduling, which causes extra threading overhead. - Unable to use some other implementation (such as TBB) even for the comparison tests. Notes about other changes. There are two places where we really had to use that limit. One of them is the single threaded dependency graph. This will now construct a single-threaded scheduler at evaluation time. This shouldn't be a problem because it only happens when using debugging command line arguments and the code simply don't run in regular Blender operation. The code seems a bit duplicated here across old and new depsgraph, but think it's OK since the old depsgraph is already gone in 2.8 branch and i don't see where else we might want to use such a single-threaded scheduler. When/if we'll want to do so, we can move it to a centralized single-threaded scheduler in threads.c. OpenGL render was a bit more tricky to port, but basically we are using conditional variables to wait background thread to do all the job.
2017-03-07Once more T50565: Allow using planar constraints for scale manipulatorJulian Eisel
2017-03-06Rigid body: fix viewport not updating on properties change.Clément Foucault
2017-03-06Fix width calculation for split layoutsraa
2017-03-06Multi-View: Map cursor coordinates to visual coordinatesJulian Eisel
When rendering multi-view in side-by-side or top-bottom mode, we squash the UI to half of its size and draw it twice on screen. That means the cursor coordinates used for UI interaction don't match what's visible on screen. This commit is a little event system hack (tm) to fix this. It has some small glitches with cursor grabbing, but nothing to bad. We'll also use it for viewport HMD support. D1350, thanks for the feedback @dfelinto!
2017-03-05BMesh: Add 'cut' separate mode for intersect toolCampbell Barton
It was only possible to separate all geometry from an intersection or none. Made this into an enum with a 3rd option to 'Cut', (now default) which keeps each side of the intersection separate without splitting faces in half.
2017-03-05Fix T50855: Intersect (knife) w/o separate doesn't selectCampbell Barton
2017-03-05BLI_rect: add init from point functionsCampbell Barton
Initialize a rectangle from point+size.
2017-03-04Cleanup: expose struct for ED_view3d_mats_rv3d_*Campbell Barton
2017-03-03Update comment which was remained in an old placeSergey Sharybin
2017-03-03Fix T50842: NLA Influence Curve draws out of bounds when it exceeds the 0-1 ↵Joshua Leung
range
2017-03-03Cleanup: redundant header, use const, short -> boolCampbell Barton
2017-03-03When creating texture/image in Texture Paint mode, both datablocks should ↵Bastien Montagne
get the same name The paint slot name was not the same as what is displayed on the texture properties panel. Instead, the slot type (e.g. "Diffuse Color") was used as the name. Patch by Suchaaver (@minifigmaster125) with minor changes from @mont29. Reviewers: mont29, sergey Maniphest Tasks: T50704 Differential Revision: https://developer.blender.org/D2523
2017-03-02Fix duplicated 'Accurate' property for manipulator keymap itemJulian Eisel
Is already added through Transform_Properties
2017-03-02Fix weird "use_planar_constraint" button in redo panelJulian Eisel
Issue was that the VIEW_OT_manipulator operator calls the transform operators and passes them it's own operator properties. That means the transform operator got properties passed that it doesn't have.
2017-03-02Fix another part of T50565: Planar constraints were always initialized to ↵Sergey Sharybin
accurate transform Now it is defined by keymap.
2017-03-02Fix second part T50565: Using planar transform once makes it enabled by defaultSergey Sharybin
Was caused by property being saved by the operator manager.
2017-03-01Fix T50830: Wrong context when calling surfacedeform_bindLuca Rood
The custom poll function for surfacedeform_bind seems to have caused issues when calling it from Python. Fixed by using the generic modifier poll function, and setting the button to be active or not in the Python UI code instead. (there might be a better way, but for now this works fine)
2017-03-01All drop-down buttons should use the same widthraa
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2017-03-01Fix text and icon positioning issuesraa
2017-02-28Fix/workaround T48549: Crash baking high-to-low-poly normal map in cyclesSergey Sharybin
For now only prevent crash.
2017-02-27Surface Deform Modifier (SDef)Luca Rood
Implementation of the SDef modifier, which allows meshes to be bound by surface, thus allowing things such as cloth simulation proxies. User documentation: https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform Reviewers: mont29, sergey Subscribers: Severin, dfelinto, plasmasolutions, kjym3 Differential Revision: https://developer.blender.org/D2462
2017-02-27Fix memory leak when making duplicates real and parent had constraintsSergey Sharybin
Thanks Bastien for help!
2017-02-27Fix/workaround T50677: Shrinkwrap constraint don't get updated when target ↵Sergey Sharybin
mesh gets modified Do a "full" update on leaving sculpt mode, so we are sure scene will be brought to a consistent state. Ideally we'll only do that when there are objects which depends on geometry without re-calculating self geometry, but that's a bit tricky currently.
2017-02-27Fix missing break setting curve auto-handlesCampbell Barton
2017-02-26Fix unreported bug: Ensure you have the correct array directory even after ↵Germano Cavalcante
the `dm->release(dm)`
2017-02-25Fix rows with fixed last item (D2524)raa
2017-02-23Fix T50656: Compositing node editor is empty, no nodes can be addedSergey Sharybin
2017-02-23Fix possible crash in various 3D View operatorsJulian Eisel
Was actually harmeless and not crashing, but I'd say more or less only by luck: the NULL-check for region data would only evaluate to true for the correct 3D View region. However, if we were to add region data to a different region type in future, this would lead to undefined behavior if executed in the wrong region.