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-07-24Fix T50039: texture paint soften strength not working with float images.Brecht Van Lommel
2017-07-21Fix a few harmless maybe uninitialized warnings with GCC 5.4.Brecht Van Lommel
GCC seems to detect uninitialized into function calls now, but then isn't always smart enough to see that it is actually initialized. Disabling this warning entirely seems a bit too much, so initialize a bit more now.
2017-07-21Fix T46560: 2D paint smear and soften brushes not working with alpha.Brecht Van Lommel
Interpolate rather than do alpha over mix, matching projection paint.
2017-07-13Fix texture paint crash when painting onto stencilCampbell 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-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-01-16Cleanup/refactor: move BKE_deform_flip_side_name & co to BLI_string_utilsBastien Montagne
Functions like that do not have anything to do in BKE really, even less when actually more used for bones than vgroups!
2017-01-16Cleanup/refactor: get rid of fixed name limit in BKE_deform_flip_side_name & co.Bastien Montagne
Those were forcing to use vgroup name define in bones area, or even mixing with maxbonename... ugly, and totally avoidable.
2017-01-12Fix T50056: Dyntopo brush size shortcut broken using constant detail setting.Julian Eisel
2016-12-08Fix T49872: 3D cursor places with camera shift in ortographic modeJulian Eisel
2016-11-25Math Lib: rotate matrix cleanupCampbell Barton
- Remove 'rotate_m2', unlike 'rotate_m4' it created a new matrix duplicating 'angle_to_mat2' - now used instead. (better avoid matching functions having different behavior). - Add 'axis_angle_to_mat4_single', convenience wrapper for 'axis_angle_to_mat3_single'. - Replace 'unit_m4(), rotate_m4()' with a single call to 'axis_angle_to_mat4_single'.
2016-11-18Fix (unreported) bad handling of brush's fill threshold value.Bastien Montagne
'1' threshold value would only allow to access a third of the basic 'color space' (from black to white, from 0.0 to 1.0 component values), when you expect it to access the whole range. Unfortunately, this needs a subversion bump to allow already defined brushes to keep exact same behavior! Also, did not change default value (0.2) for new brushes, think here keeping current one makes more sense. Thanks to @LucaRood for confirming the issue.
2016-11-12Sculpt UI: Make DynTopo constant detail a resolution valueJulian Eisel
This should make it easier to sculpt in high resolutions, downside is that the new way to calculate maximum edge length is a bit less intuitive. Maximum edge length used to be calculated as blender_unit * percentage_value, now it's blender_unit / value. Reused old DNA struct member, but had to bump subversion to ensure correct compatibility conversion. Also changed default value slightly (would have had to set to 3.333... otherwise). Was Requested by @monio (see https://rightclickselect.com/p/sculpting/zpbbbc/dyntopo-better-scale-input-in-constant-detail-mode) and I think it's worth testing.
2016-10-26Cleanup: rename functions in BLI_bitmap_draw_2dCampbell Barton
2016-10-26Cleanup: move bitmap drawing into its own moduleCampbell Barton
Bitmap drawing is out-of-scope for a general math API, move to BLI_bitmap_draw_2d.
2016-09-20Fix T49391: Texture paint is not aware of disabled color managementSergey Sharybin
There might be some extra missing points here, but it's all rather a TODO than a real bug and can be tweaked further once issues are actually discovered.
2016-09-19UI Messages: Consistent spelling of term "data-block"Julian Eisel
Was using a bunch of different spellings, mostly "data-block" though, so went with that one (would have been my #1 choice anyway ;) )
2016-08-22Sculpting: Avoid calculating and chaching viewport matricesJulian Eisel
Really couldn't find where this was used.
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-07-28Cleanup: IndentationSergey Sharybin
2016-07-28Fix T48838: Tiling sculpt problem with custom brushSergey Sharybin
2016-07-22remove double-checked conditionsMike Erwin
Checking a condition right after we’ve checked it (and it hasn’t changed). Most of these are trivial to understand. split_quads in convertblender.c: It seems quads should be processed and triangles should be marked as not needing split. So I removed the outer vlr->v4 check. Found with PVS-Studio T48917
2016-07-16Cleanup: spellingCampbell Barton
2016-07-15Cleanup: use BLI_math for paint smooth-strokeCampbell Barton
2016-07-14Cleanup: styleCampbell Barton
2016-07-13Vertex/Weight Paint: Support view-selected on last-strokeCampbell Barton
D1875 by @lichtwerk
2016-07-11Fix T48812: Brush size invalid with HIDPICampbell Barton
Missed from c5b2f12b
2016-07-10Cleanup/Refactor: pass Main pointer to all ID copy functions.Bastien Montagne
Also allows us to get rid of a few _copy_ex() versions...
2016-07-07Fix memory leak switching sculpt mode + dyntopoCampbell Barton
Auto-enabling dyntopo w/ mode switching leaked memory when undo was used.
2016-07-06Replace of (id->lib != NULL) check by meaningful macro.Bastien Montagne
Idea is to replace hard-to-track (id->lib != NULL) 'is linked datablock' check everywhere in Blender by a macro doing the same thing. This will allow to easily spot those checks in future, and more importantly, to easily change it (see work done in asset-engine branch). Note: did not touch to readfile.c, since there most of the time 'id->lib' check actually concerns the pointer, and not a check whether ID is linked or not. Will have a closer look at it later. Reviewers: campbellbarton, brecht, sergey Differential Revision: https://developer.blender.org/D2082
2016-07-02BMesh: utility function to resize bmesh elementsCampbell Barton
This can be used to re-allocate bmesh data with/without tool flags. Needed for Symmetrize since it uses bmesh operators from dyntopo.
2016-07-01Add wait cursor toggling dyntopoCampbell Barton
2016-07-01Sculpt: skip normal calculation entering dyntopoCampbell Barton
When no triangulation runs we can skip re-calculating normals.
2016-07-01Enable dyntopo re-entering sculpt modeCampbell Barton
2016-07-01BMesh: make toolflags optionalCampbell Barton
Saves 8 bytes per vert/edge/face. Gives overall ~20-25% memory saving for dyntopo sculpting and modifiers that use BMesh.
2016-06-22Cleanup: styleCampbell Barton
2016-06-16Vertex paint color operationsCampbell Barton
D2050 by @metaraptor with edits Adds levels, brightness/contrast, hsv & invert operations.
2016-06-10GPU: use basic-shader for line-stippleCampbell Barton
2016-06-08Cleanup: typoCampbell Barton
2016-06-02Fix T48456: 2x pixel size clamps min brush sizeCampbell Barton
Using double pixel size prevented 1px brushes D2044 by @jeske
2016-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-05-11Cleanup: unused win32 headersCampbell Barton
2016-05-08Cleanup: warningsCampbell Barton
2016-05-06Speedup of regular 2D paintingSergey Sharybin
Yet another commit which makes painting aware of multi-threaded systems.
2016-05-05Cleanup: styleCampbell Barton
2016-05-05Fix project paint using uninitialized edit-regionCampbell Barton
First stroke always had the minimum rectangle set to 0,0 which could cause a largre region of pixels to be unnecessarily updated.
2016-05-05Image Paint: fix for calls to GPU_free_image while paintingCampbell Barton
The width and height of of the region to update are often zero, skip calling GPU_paint_update_image in this case.
2016-05-03Fix T48169: 1 pixel offset painting 2D texturesCampbell Barton
Painting at negative locations was using int-rounding.
2016-04-29Fix T48290: Hook fails after deleting geometryCampbell Barton
Now CD_SHAPEKEY_INDEX customdata is stored in edit-mode when hooks and vertex parents are used. This also fixes a bug where undo would loose key-index data. Move to structs for BM_mesh_bm_to/from_me to avoid passing many argument, which mostly aren't used.
2016-04-26Fix T48259: Vertex painting doesn't trigger refresh of cycles rendered viewportSergey Sharybin