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-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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Fix T61065: missing shader update when adding texture slot.Brecht Van Lommel
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-25Depsgraph: use specific tag to update shadingCampbell Barton
2019-01-24Fix T59650: adding texture paint slot image shows wrong color.Brecht Van Lommel
2019-01-24Fix T60133: texture paint external editing not workingPhilipp Oeser
Operator relys on 3DView and was failing from Topbar and Properties Editor. Now tries to find the biggest 3DView and uses that. Reviewers: brecht Maniphest Tasks: T60133 Differential Revision: https://developer.blender.org/D4215
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-08Cleanup: comments causing bad clang-format outputCampbell Barton
2018-12-21Fix T59668: UV unwrap pinning bugs.Brecht Van Lommel
With multi object editing it creates the charts twice, which broke some logic in the unwrapper.
2018-11-30Fix T58150: crash in Texture Paint after changing selection in Edit Mode.Alexander Gavrilov
Texture paint code was retrieving the evaluated mesh from the original object, which isn't supposed to happen, so the cached mesh isn't properly cleaned up by Edit Mode toggle.
2018-11-30Cleanup: remove useless depsgraph parameter in some texpaint helper func.Bastien Montagne
2018-11-29Texture Paint: fix artifacts when using masks with symmetry.Alexander Gavrilov
For most brushes, texture painting uses a special mask accumulation table in order to ensure that the amount of added color only increases when the same pixel is touched multiple times by the stroke. Unfortunately, only the mask texture was added to the mask before this check, while normal, stencil, texture alpha masks were applied after this check. This means that the check can pass if e.g. the pressure is increased, but the final mask value is actually lower. One might think that the mask values are fixed per pixel, but with symmetry that isn't true. The result is a nasty stripe artifact due to the discrete cutoff nature of the accumulation test. In order to fix this, apply all masks before accumulation.
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Texture Paint: prevent normal angle masking duplicating backface culling.Alexander Gavrilov
If backface culling is off, the user obviously wants to paint on back faces, so the normal angle cutoff designed to prevent painting at glancing angles shouldn't do the culling as a side effect.
2018-11-13Merge branch 'master' into blender2.8Campbell Barton
2018-11-13Cleanup: use lowercase 2d/3d in function namesCampbell Barton
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-01Fix T57553: Python operator popup size does not follow UI scale and DPI.Brecht Van Lommel
Make it the convention to multiply by scaling factor inside the function, so Python scripts that didn't add DPI scale start working correctly.
2018-10-16Mesh: replace derived-mesh with mesh API's for project paintCampbell Barton
2018-10-15Texture Paint: Don't create material if operation is cancelledJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3793
2018-10-05Texture Paint: automatically set default color when adding texture slot.Brecht Van Lommel
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-20Texture Paint: unify missing data and slots panels, better auto position nodes.Sebastian Parborg
Differential Revision: https://developer.blender.org/D3694
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-11Cleanup: styleCampbell Barton
2018-09-10Texture paint: properly implement image slots for principled BSDF node.Sebastian Parborg
Now we can create new base color, roughness, metallic, specular, normal, bump and displacement images, and linked them to the appropriate socket. Also fixes image nodes inside groups not being visible. Differential Revision: https://developer.blender.org/D3679
2018-07-17Cleanup: moving shading type into View3DShading.Brecht Van Lommel
So all shading settings are in this struct and can be reused in the OpenGL render engine.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: right shiftCampbell Barton
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-21Cleanup: nuke useless BKE_DerivedMesh.h includes.Bastien Montagne
2018-06-19Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/sculpt_paint/paint_image_proj.c
2018-06-19Fix (unreported) passing CDLayer 'ID' instead of bitflag to a cdlayer mask!Bastien Montagne
Probably harmless, since I bet CD_ORIGINDEX is nearly always generated, but still...
2018-06-19Cleanup: remove ref to dm in names in projpaint struct.Bastien Montagne
2018-06-19Remove derivedmesh from 3DView texture/projection paint.Bastien Montagne
Pretty straightforward changes. Name cleanup to follow in a separated commit.
2018-06-19Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/sculpt_paint/paint_image_proj.c
2018-06-19Cleanup DM generation code for ProjPaint.Bastien Montagne
Two branches were actually doing essentially the same thing here, no need to artificially complicate things. ;)
2018-06-19Fix (unreported) unauthorized relesing of derived_final DM in paint ↵Bastien Montagne
projection code. NEVER free yourself DM returned by mesh_get_derived_final(), it's always to one assigned to ob->derived_final!
2018-06-13Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/readfile.c source/blender/editors/mesh/editmesh_utils.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-11Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_mesh.h source/blender/blenkernel/intern/mesh_convert.c source/blender/editors/interface/interface_eyedropper_color.c source/blender/editors/object/object_add.c source/blender/editors/space_image/image_ops.c source/blender/makesrna/intern/rna_image.c source/blender/windowmanager/intern/wm_draw.c
2018-06-11Cleanup: remove moar ugly G.main usages...Bastien Montagne
BKE_image was an ugly nest, could fix all but the ones from compositor, so moved ugly G.main there, at least we know where the Evil is that way ;)
2018-06-11Merge branch 'master' into blender2.8Philipp Oeser