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
2019-10-24Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-10-20Fix T70864: Separate loose parts runs indefinitelyCampbell Barton
Large objects with many separate pieces became unstably slow (run for hours and not finish). The entire original mesh was being duplicated twice per loose part. In own tests, millions of vertices and thousands of loose parts now run in around 5-15 seconds.
2019-10-02Revert "UI: use correct singular and plural nouns in report messages"Brecht Van Lommel
Convention is to use (s) postfix for cases where there can be one or multiple, so stay consistent with that. This reverts commit 3e8276311ed17d12e8b47b4fe8e2f68c1ce8c603.
2019-10-01UI: use correct singular and plural nouns in report messagesYevgeny Makarov
Differential Revision: https://developer.blender.org/D5729
2019-09-26Cleanup: clang-formatBrecht Van Lommel
2019-09-26WM: clean up cursors constants and codeBrecht Van Lommel
There was a mix of old and new constants. Now have one list of WM_CURSOR_* cursor types, using GHOST standard cursors when available and otherwise falling back to our custom cursors. Ref D5197
2019-09-04Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-09-02Fix T69404: Merge by distance crash with UnselectedCampbell Barton
Error introduced when removing the automerge bmesh operator.
2019-08-30Cleanup: spellingCampbell Barton
2019-08-21Transform: New Snap Option: Edge Perpendicularmano-wii
Part of T66420 Option for snapping to the nearest point of a reference coordinate. The patch also adds Edge Center and Perpendicular snaps to the ruler. {F7675906} Reviewers: campbellbarton, brecht Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5543
2019-08-16Fix T67999: calling Mesh.materials.clear() crashes BlenderSybren A. Stüvel
The `BKE_material_pop_id()` and `BKE_material_clear_id()` functions had a parameter `update_data` that, when `false`, would cause the mesh polys to keep their material index, even when the indexed material slots were removed. This behaviour was never used in the C code and not supported by the drawing code, making polygons disappear and causing crashes. The Python binding in RNA, however, defaulted to `update_data=False`. This commit removes the `update_data` parameter altogether, and makes the functions always fix up the material indices. Reviewed by: mont29, brecht
2019-08-16Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-08-12Fix T66922: Merge by distance tooltip text wrongPhilipp Oeser
merge/dissolve distance is actually a maximum, not a minimum Reviewers: campbellbarton Maniphest Tasks: T66922 Differential Revision: https://developer.blender.org/D5462
2019-08-11Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-08-09Fix T67821: Snap to Symmetry not updatingSebastian Parborg
Added a missing depsgraph update.
2019-08-09LANPR: Rename Freestyle face/edge mark structures into LANPR.YimingWu
2019-08-09Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-08-08Cleanup: use doxy sectionsCampbell Barton
2019-08-01Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-07-31Refactor access to dependency graphSergey Sharybin
This change ensures that operators which needs access to evaluated data first makes sure there is a dependency graph. Other accesses to the dependency graph made it more explicit about whether they just need a valid dependency graph pointer or whether they expect the graph to be already evaluated. This replaces OPTYPE_USE_EVAL_DATA which is now removed. Some general rules about usage of accessors: - Drawing is expected to happen from a fully evaluated dependency graph. There is now a function to access it, which will in the future control that dependency graph is actually evaluated. This check is not yet done because there are some things to be taken care about first: for example, post-update hooks might leave scene in a state where something is still tagged for update. - All operators which needs to access evaluated state must use CTX_data_ensure_evaluated_depsgraph(). This function replaces OPTYPE_USE_EVAL_DATA. The call is generally to be done in the very beginning of the operator, prior other logic (unless this is some comprehensive operator which might or might not need access to an evaluated state). This call is never to be used from a loop. If some utility function requires evaluated state of dependency graph the graph is to be passed as an explicit argument. This way it is clear that no evaluation happens in a loop or something like this. - All cases which needs to know dependency graph pointer, but which doesn't want to actually evaluate it can use old-style function CTX_data_depsgraph_pointer(), assuming that underlying code will ensure dependency graph is evaluated prior to accessing it. - The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is explicit and local about where dependency graph is being ensured. This commit also contains some fixes of wrong usage of evaluation functions on original objects. Ideally should be split out, but in reality with all the APIs being renamed is quite tricky. Fixes T67454: Blender crash on rapid undo and select Speculation here is that sometimes undo and selection operators are sometimes handled in the same event loop iteration, which leaves non-evaluated dependency graph. Fixes T67973: Crash on Fix Deforms operator Fixes T67902: Crash when undo a loop cut Reviewers: brecht Reviewed By: brecht Subscribers: lichtwerk Maniphest Tasks: T67454 Differential Revision: https://developer.blender.org/D5343
2019-07-31Merge branch 'master' into soc-2019-nprYimingWu
2019-07-30Fix T67370 Normal Tools(Alt +N), copy and paste not workSebastian Parborg
The copy operator requried at least a vert AND a face to be selected. It should only require that a vert OR a face is selected.
2019-07-25Merge remote-tracking branch 'origin/master' into soc-2019-nprYimingWu
2019-07-24Fix T66768: Grid fill span not workingCampbell Barton
2019-07-19LANPR: Renamed freestyle edge mark constant into lanpr.YimingWu
2019-07-19LANPR: Rename freestyle edge mark functions to LANPR.YimingWu
2019-07-16Merge remote-tracking branch 'origin/greasepencil-object' into soc-2019-nprYimingWu
2019-07-14Cleanup: Do not use camel case for "Freestyle"Aaron Carlisle
2019-07-04Merge branch 'master' into soc-2019-nprYimingWu
2019-07-03Fix T66332: Move gizmo stays in place when vertex is deletedPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T66332 Differential Revision: https://developer.blender.org/D5177
2019-07-01Merge branch 'master' into soc-2019-nprYimingWu
2019-06-29Fix T65929: multi-object editing for new normals tools.Howard Trickey
Leaving the modal point-at as a TODO for now. All the rest of the new split normal tools converted to operate on all selected objects.
2019-06-25Merge branch 'master' into soc-2019-nprYimingWu
2019-06-24Fix T66030: [CRASH] Modifying Normals with Skin Modifier.Bastien Montagne
clnor editing code was simply not checking at all whether it has something to work on... Guess nobody had idea to edit custom normals on a mesh that has no normals before! :P This should probably be handled in a poll function too, to completely disable those tools when there are no faces/loops, but let's keep it to minimal changes at that point.
2019-06-24Fix T65824: Span property ignored in mesh.fill_gridCampbell Barton
The fix for T60777 caused this operator not to work from Python. Add a repeat_last flag for operator execution.
2019-06-17Merge branch 'master' into soc-2019-nprYimingWu
2019-06-16Fix T65809: Blender crash while using the Normal's "merge" option in edit mode.Bastien Montagne
Merge code will generate temp normal editing data for affected loops, but since it will later (by setting some edges/faces to smooth) alter and extend affected clnor spaces, it will also need temp normal editing data for some other loops around those vertices... Using those clnor editing data in that code is a bit of an abuse, but on the other hand that struct stores exactly what we need. So simply added an option to generate that editing data for all clnors of affected vertices.
2019-06-12Merge remote-tracking branch 'origin/master' into soc-2019-nprYiming Wu
# Conflicts: # release/datafiles/locale # release/scripts/addons # release/scripts/addons_contrib
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-05-28Merge branch 'master' into soc-2019-nprYimingWu
2019-05-21Fix memory leak in Normals from Faces operatorCampbell Barton
2019-05-20Normal UI: for all ops needing autosmooth on, enable it if needed.Howard Trickey
Now Normal menu operations and rotate normals (r n) do not need manual enabling of autosmooth first. See T64324 for discussion of Normal UI changes.
2019-05-16Merge branch 'master' into soc-2018-nprYimingWu
2019-05-13Fix T64041: Vertex Sharp not working.Bastien Montagne
Broken in rB0ac3d5f7db67 last year...
2019-05-08Cleanup: unused var, doxy syntax for math_matrix.cCampbell Barton
2019-05-07Normals menu for face strength improved.Howard Trickey
Now cascading menus in Mesh > Normals set and select face strength with explicit choices of Weak / Medium / Strong.
2019-05-06Merge branch 'master' into soc-2018-nprYimingWu
2019-05-05UI: TooltipsWilliam Reynish
- Add missing tooltips to Quick Effects and Subdivide Edge Ring - Add proper tooltip to the Bevel operator - Clearer tooltips for the extrude operators Plus a few other tweaks Suggested by users on Devtalk.
2019-05-02UI: rename 'Remove Doubles' to 'Merge by Distance'William Reynish
Also add into the "Merge" menu.
2019-05-01UI: improve readability of Normals menu in edit modeGeorge Vogiatzis
Also rename operators to match names in the menu. Differential Revision: https://developer.blender.org/D4659