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
2016-04-01Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up ↵Philipp Oeser
in uv panels (t, n) Epic fail in recent rB2c3985 :/ To be backported to 2.77a!
2016-03-21Fix T47842: UV sculpt brush widgets are available when not in uv sculpt mode.Philipp Oeser
rB5b3af3dd made the poll function here slightly too laxist. To be backported to 2.77 should we make an 'a' release. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D1861
2015-10-26Fix T46537: UV Image Editor. UV Sculpt toggle button doesn't show hotkey ↵Bastien Montagne
label when active. Poll function of that keymap was slightly... agressive.
2015-08-31Fix T45258, impossible to select brush when removing it from 2dAntony Riakiotakis
painting. Also system added a brush every time it found no paint brush in the system which is not what we would want. Solution: * Brush panel stays visible always, regardless of whether there is a brush or not. * We search for first available brush when we find no brush in paint struct instead of always generating a new one. * Generating and searching for a brush take a mode argument now. Needed some refactoring to users of BKE_paint_init as well. * Did some style cleanups for paint mode enums. Patch is big but it's mostly argument refactoring.
2015-06-20missed last commitCampbell Barton
2015-06-20Transform: UV islands were split by windingCampbell Barton
This meant front/back faces from a projection would be seen as separate islands.
2015-06-10Fix T45013 negative curve falloff not working.Antony Riakiotakis
Was doing clamping as fix for T42984. Seems we can ommit clamping for sculpting if we make sure overlap is not zero with negative values. Control for clamping is moved to the "Use Clipping" function of curves (which is on by default), so both bugs remain squashed and advanced users can now properly utilize curves in sculpting, though not all brushes work well with negative curves.
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-29Move average stroke from sculpt session to unified paint settings so itAntony Riakiotakis
can be reused by other paint systems too.
2014-11-28Cleanup: unused headersCampbell Barton
2014-09-25GHash: use bool for comparison (simplify compare)Campbell Barton
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-08-07T41354, cursor never gets reactivated in uv sculpting.Antony Riakiotakis
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-20Fix incorrect ghash freeCampbell Barton
2014-04-15GHash: add typed hash functions (were all (void *))Campbell Barton
- BLI_ghashutil_strhash_n takes string length, to avoid terminating the string before hashing. - BLI_ghashutil_inthash/uinthash take ints, to avoid casting to (void *) This also showed up incorrect use of inthash, which was using a pointer.
2014-04-13Cleanup:Antony Riakiotakis
Naming: Change pressure to size_pressure, it notes correctly that this value is updated and expected to be used for size updating only. Change name of cursor function and since it is used for uv sculpting only now move to the relevant file. Also cleanup unneeded functionality from function. Stroke: Separate updating of stroke variables to invariants (updated when stroke->init = false) and variants.
2014-03-10Fix T39034 brush always shown even after deactivating the show cursorAntony Riakiotakis
option after reentering a paint mode. Solution by Bastien with modifications, thanks! Show Brush flag need not be reenabled always, but make sure it is at least enabled once on paint initialization.
2014-02-13Code cleanup: styleCampbell Barton
2014-02-11Fix T38574 uv sculpting cursor could be visible during render preview inAntony Riakiotakis
image editor.
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2013-12-12Code Cleanup: move mesh mapping functions into their own file/headerCampbell Barton
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-01style edits and use macro for prefix checkCampbell Barton
2013-10-01UV sculpting was missing curve initialization causing crashes. ReportedAntony Riakiotakis
by Sebastian Koenig, thanks!
2013-08-17avoid double ghash lookupsCampbell Barton
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-12Paint refactoring commit, non-disruptive (in theory :p)Antony Riakiotakis
* Fix precision overflow issue with overlay previews, * Expose alpha mask mapping to UI (still not functional but coming soon). * More overlay refactoring: Overlay now does minimal checking for texture refresh. Instead, we now have invalidation flags to set an aspect of the brush overlay as invalid. This is necessary because this way we will be able to separate and preview different brush attributes on the overlays, using different textures: These attributes/aspects are: Primary texture (main texture for sculpt, vertex, imapaint) Secondary texture (mask/alpha texture for imapaint) Cursor texture (cursor texture. It involves brush strength and curves) Modified the relevant RNA property update functions and C update callback functions to call the relevant cursor invalidation functions instead of checking every frame for multiple properties. Properties that affect this are: Image changes, if image is used by current brush, Texture slot changes, similarly Curve changes, Object mode change invalidates the cursor Paint tool change invalidates the cursor. These changes give slightly more invalidation cases than simply comparing the relevant properties each frame, but these do not occur in performance critical moments and it's a much more elegant system than adding more variables to check per frame each time we add something on the system.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-03Cleanup, move uv sculpt specific code to sculpt_uv.c. Also renameAntony Riakiotakis
brush_drawcursor to a more indicative of its users name until paint cursor unification is done.
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-07-25match function names for clip/image spacesCampbell Barton
2012-05-05code cleanup: brush/camera namingCampbell Barton
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-04-21style cleanupCampbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-03-28style cleanup: mainly whitespace around operators and indentation - ↵Campbell Barton
paint/sculpt tools
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-02-25style cleanup, use { on newline after function definition.Campbell Barton
spelling 'impliment' -> 'implement'
2012-02-23code style cleanup, no functional changes.Campbell Barton