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-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Fix T63619: Fill Tool is misaligned when 'Gradient' is enabledPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T63619 Differential Revision: https://developer.blender.org/D4692
2019-04-16Clenaup: odd use of ternary operatorsCampbell Barton
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-09Cleanup: spellingCampbell Barton
2019-03-28Cleanup: remove unused derivedmesh code.Brecht Van Lommel
2019-03-26Fix T62756, T62131: moving stencil texture fails after moving stencil maskBrecht Van Lommel
2019-03-263D View: move deselect all logic into an optionCampbell Barton
This removes `VIEW3D_OT_select_or_deselect_all`, adding a deselect_all option to the `VIEW3D_OT_select` operator. - Add utility functions to simplify de-selecting all. - Return true from selection functions when they change the selection to avoid redundant updates. - Use arrays of bases when passing objects between selection utility functions since some users require bases. - Fix logical error in box selection that updated all objects after the first hit.
2019-03-22Modifiers: add minimum number of vertices to triangulate modifier.Ish Bosamiya
This lets you only triangulate n-gons when setting the number to 5 or more. Differential Revision: https://developer.blender.org/D4367
2019-03-18Cleanup: remove compare_len_squared utilityCampbell Barton
There isn't any advantage to this over comparing the squared length.
2019-03-18Cleanup: unused vars in last commitCampbell Barton
2019-03-18Fix T58763: Sample color fails with mirror modifierCampbell Barton
2019-03-17Fix T62240: Bleed artifacts with degenerate trianglesLuca Rood
This makes degenerate triangles be ignored, as they cause artifacts and don't contribute to the result anyway. There is an extra cost for all triangles, to check if they are degenerate. Though not ideal, this seems to be the safest solution at the moment (see code comments). This commit also changes the clamp value for the bleed len_fact from 5 to 10, to give good corner results with some sharper angles, considering they will be rounded later. A lot of the texture paint initialization code could be optimized by caching the results throughout the session, instead of rerunning it for each stroke. Stroke initialization is way too expensive at the moment, and does many redundant computations.
2019-03-16Cleanup: use return args lastCampbell Barton
2019-03-15GPU: Simplify select shaders.mano-wii
The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`. This commit allows the drawing of the mesh select ids to be done on a 32UI format texture. This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion. Differential Revision: https://developer.blender.org/D4350
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-14Fix T62460: undo doesn't work in files that have a paint curve.Brecht Van Lommel
2019-03-12Cleanup: BLI_utildefines struct macrosCampbell Barton
Use the term "AFTER" instead of "OFS" since it wasn't obvious these macros operate on everything after the struct member passed. Avoid casting to non-const types when only reading.
2019-03-11Sculpt: Fix undo when shape keys are usedSergey Sharybin
Can not use undo node's total vertices count, it only contains single PBVH node vertex count. Need to pass an entire key block number of vertices.
2019-03-11Fix T62359: Flip colors for Fill Tool missingPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T62359 Differential Revision: https://developer.blender.org/D4486
2019-03-11UV editor: automatically show image assigned to active face.Brecht Van Lommel
When manually selecting a different image, this image will become pinned and continue to show. The material node is not automatically modified as it was in old Blender versions, only the image displayed in the UV editor. Fixes T61239: confusing behavior when unwrapping non-square images. By showing the relevant image by default it's more clear why it does aspect correction.
2019-03-10Fix T58890: Sculpt Mode not updating in LookDev or RenderedClément Foucault
This fix is a hack and will slow down update performance. But at least, all shading features are supported. This is only in "normal" sculpt mode (no dyntopo, no multires).
2019-03-08Cleanup: spellingCampbell Barton
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Fix T62328, T62209: revert recent fix for texture slots updates (T60366).Brecht Van Lommel
This causes other issues, revert for now until a better fix is found. Reverts commit da1323d1c95095feff98e8aa054d73fd323c363d.
2019-03-07Cleanup: remove unused parameter.Brecht Van Lommel
2019-03-07Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-06Fix T62236: Crash texture paintingCampbell Barton
Caused by 10d9a2494fc5e which removed 5x length clamping.
2019-03-06Cleanup: styleCampbell Barton
2019-03-05Fix T62208: constant detail picker not taking object scale into accountJacques Lucke
2019-03-04Texture Paint: round corners of dilated UV seamsLuca Rood
This fixes the issue of long spikes on sharp corners by rounding them, guaranteeing that the bleed will never exceed the bleed distance set by the user in any part of the mesh. See: D4437
2019-03-04Fix texture paint UV dilation algorithmLuca Rood
Two aspects are addressed: - Correct computation of dilation distance, so that dilated boundaries remain parallel to the original boundaries (and with the actual distance specified as bleed distance). - Dilate with regard to adjacent seams instead of adjacent triangle edges, for a more correct result. This is especially important in the case of concave shapes, where spikes could overlap with actual geometry. See: D4436
2019-03-04Outliner: better support for paintcurves ('Blender File' view)Philipp Oeser
- paintcurves were hitting an assert in outliner_add_element() - missing outliner update when adding a paintcurve - paintcurves were not showing an icon [they dont have a dedicated icon, took the one used elsewhere] Reviewers: brecht Differential Revision: https://developer.blender.org/D4445
2019-02-28Fix T60366: texture paint slots not updating when editing material.Brecht Van Lommel
Now always refresh when the material changes. Depsgraph tag moved out of the refresh function since that gets called on depsgraph update, which should not trigger a second depsgraph update.
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-19Fix T61702: obmat used incorrectly when calculating constant detail sizeJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4372
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-17Cleanup: move object bounding-box into runtime structCampbell Barton
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-12Fix T51771: UI Messages: Reserve 'Normal' to its geometric meaning.Bastien Montagne
Using 'Regular' instead for the common meaning, this avoids having to add some i18n context disambiguation...
2019-02-08Cleanup: clear deprecated flagsCampbell Barton
2019-02-07Fix sculpt undo steps not enabling dyntopoCampbell Barton
Logic to disable dyntopo when entering sculpt mode was applied on undo.
2019-02-07Fix T61049: Undo dynamic topology sculpt assertsCampbell Barton
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-06Undo System: remove accumulate/store modesCampbell Barton
This complicated handling of undo steps in a generic way especially switching between undo systems that stored data to ones that accumulated changes. Now each undo system must treat it's steps as check-point, internally it can apply/rewind changes. This commit also fixes projection paint where the object mode wasn't following the undo steps.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893