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
2015-09-16Fix T46126: Anchored sculpt fail when cursor leaves meshCampbell Barton
2015-09-09Fix T45880: Texture Paint mask random angle failsCampbell Barton
Random mask failed when the paint brush didn't have random angle enabled too.
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-08-27Fix T43826: Sculpt grab anchored failsCampbell Barton
Regression caused by GSOC2013 merge f745564
2015-07-25Correct check for angle-rake strokeCampbell Barton
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-05-07Minor cleanupAntony Riakiotakis
2015-05-07Fix T44604 bad quality of rake with bezier curves.Antony Riakiotakis
We can calculate tangents analytically for bezier curves, so just make them awesome. New code uses forward differencing calculation for efficiency just like curve calculation. Picture before/after: http://www.pasteall.org/pic/87843
2015-05-04Cleanup: style & const'sCampbell Barton
2015-04-30Cleanup: styleCampbell Barton
2015-04-13After user feedback:Antony Riakiotakis
* Allow ctrl click to do negative stroke in line strokes * Use alt for angle constraints.
2015-04-12BMesh: minor optimization counting adjacent dataCampbell Barton
add BM_***_count_is_over(), _count_is_equal() Useful if we only want to know if the count is a smaller value.
2015-04-04Cleanup: use float math funcsCampbell Barton
2015-02-11Cavity masking - add curve control to cavity mask and move relevantAntony Riakiotakis
structs to paint struct (might be useful for vertex paint too in the future) Cavity masking now has a curve control. The control will set the amount of masking for positive cavity ("pointness") or negative cavity ("cavity") with x axis being the amount of cavity and 0.0 = full cavity, 1.0 = full pointness, 0.5 = no cavity and the y axis being the amount of alpha.
2015-02-02cleanup: style/spellingCampbell Barton
2015-02-02Avoid warping the pointer when doing constrained texture paintingAntony Riakiotakis
strokes
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-30First version of constrained line strokes - there's some flickeringAntony Riakiotakis
still, will look into it later.
2015-01-04cleanup: use 'coords' abbreviation for functions.Campbell Barton
2014-12-29Rotate around selection now will work on last stroke position in textureAntony Riakiotakis
paint too.
2014-12-27Brush Texture Angle Goodies:Antony Riakiotakis
This commit includes a few things: * It moves the Rake and Random flags from the brush to the MTex. * The first change allows mask textures to have independent rake support. * Random rotation now has an angle value that controls the width of the effect from the rake or default angle * Rake and Random are now supported together.
2014-10-07Paint: add debug print to time strokesCampbell Barton
2014-09-29Cleanup: spellingCampbell Barton
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-05Cleanup: de-duplicate link/append propsCampbell Barton
2014-09-01Fix T41665, stroke jittering used when setting the clone cursorAntony Riakiotakis
2014-08-12Support table erasor in projective painting as well.Antony Riakiotakis
2014-08-10Fix T41385Antony Riakiotakis
Pretty old bug, reset flag to not use color transform by default.
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-14Follow up to previous commit.Antony Riakiotakis
* Expose is_tablet property to events to determine if event contains tablet data. * Expose tablet tilt for events as a 2D vector in python
2014-07-14Feature request:Antony Riakiotakis
Expose pressure from event system to python. This will return the tablet pressure, if a tablet is present, or 1.0 if not.
2014-07-04Style cleanupCampbell Barton
2014-06-27Fix T40834, grab brush not working after recent jittering fix.Antony Riakiotakis
Some brushes do not require location always. Made a list here, there may be others but I think this pretty much covers this.
2014-06-18Fix T40637, jittering can cause the mesh to disappear.Antony Riakiotakis
Do not do a step when there is no collision of the brush with the mesh.
2014-04-15Style cleanup: C & pep8Campbell Barton
2014-04-13Reduce overhead when sampling texture images for brushes. The tests canAntony Riakiotakis
be cached and reused.
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-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-05Fix for vpaint_stroke_test_start returning operator flags, not boolCampbell Barton
also use bools for paint callbacks
2013-12-10Refactoring/cleanup, borrowed from soc-2013-paint branch.Antony Riakiotakis
* Move symmetry options to the paint struct (where all paint systems can make use of it) * Rename draw_pressure to stroke_active. This is what is really checked on those occasions that this is used. Also move turning on/off of this option to the stroke level and avoid doing it on every stroke system. * Rename BRUSH_RESTORE_MESH to BRUSH_DRAG_DOT. In image painting this won't restore any mesh, so better have a name that is directly linked to what the flag actually does.
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-11fix [#37031] bones are not selectable in weight paint mode anymoreCampbell Barton
2013-09-10Fix #36577: sculpt area plane texture mapping + random angle did not work.Brecht Van Lommel
2013-08-19Minor optimization for paint systems, initialize the paint curve beforeAntony Riakiotakis
the stroke and skip checking for initialization each time we request the curve value.
2013-08-01Fix a very irritating problem of our stroke system. On small brushes,Antony Riakiotakis
the space stroke would be repeated on unneeded subpixel precision. Since this is not really useful, enforce spacing to be at least one pixel. This makes small brushes quite more responsive.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-05-24style cleanup: also remove unused varCampbell Barton
2013-05-18Fix for #35373, calling any paint operator from operator search menuAntony Riakiotakis
with mouse crashes blender. Issue here is that paint operator invocation, immediately calls modal, which checks if event is the same as initialization event plus keyup. Since using the mouse on amenu calls the operator on mouse button up, the operator ended immediately and that cause immediate cleanup and crash, Worked around this by forbidding the operator to finish on first modal call (which is expected by all the asserts on invoke anyway). This prevents the crash but requires an extra up event to end. Also, ported part of Jason Wilkins' patch to stroke code to allow for stroke sampling to be done before a dab is first performed and as soon as the stroke begins