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
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-16Merge branch 'master' into blender2.8Campbell Barton
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2017-04-05Cleanup: Move imm_draw utils into own fileCampbell Barton
These were in BIF_glutil which is documented to be removed, so best not define new API's there.
2017-02-26OpenGL: replace gluProject and gluUnProject, and simplify surrounding code.Brecht Van Lommel
Part of T49042.
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-02-08CLeanup: styleCampbell Barton
2016-01-24Cleanup: styleCampbell Barton
2016-01-20Cleanup: remove remainings of OMP in sculptpaint area.Bastien Montagne
2016-01-20paint_mask.c: OMP -> BLI_stack.Bastien Montagne
2016-01-08Math Lib: use x-span for fill_poly_v2i_n callbackCampbell Barton
Instead of running the callback per-pixel, pass the x-span to the callback.
2015-11-16Cleanup: typosCampbell Barton
2015-10-28Fix T46471: Sculpt strokes doesn't mark file as modifiedSergey Sharybin
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-06-20Sculpt lasso (used shorts for no good reason)Campbell Barton
2014-10-09Sculpt: use bitmap for mask bool arrayCampbell Barton
2014-10-07Cleanup: redundant castsCampbell Barton
2014-07-28Fix T41193: 2.71 use 100% of CPU at sculptSergey Sharybin
Issue wascaused by the famous OpenMP crap in MSVC2013, so only way is to use openmp threading if number of BVH nodes is high enough. Made it 8 for now, which seems to work rather fine on my laptop and adult dragon from sintel. But maybe it's to be adjusted a bit more.
2014-07-06Add support to lasso masking/flood fill for inverted values.Antony Riakiotakis
This can be used to subtract a region from masks but it's not very user friendly yet. To male this work better, the tool will probably be brushified later.
2014-06-23Add ED_paint.h, split out ED_sculpt.hCampbell Barton
also rename some functions to match our convention
2014-05-29Math lib: add negate_m3, negate_m4Campbell Barton
2014-05-29Fix T40381 and revert previous commit.Antony Riakiotakis
Looks like the normal update flag is used internally in the modifier itself. So as a workaround just pass normal update to the nodes when flood filling
2014-05-29Add notifiers and reuse update calls for flood fill operatorsAntony Riakiotakis
2014-05-07Code cleanup: naming.Antony Riakiotakis
Prepend BKE_ to the functions moved in blenkernel for recent bug fix.
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-03Fix T39517,Antony Riakiotakis
Issue here is that "show diffuse" option does not respect its intended purpose which is to be used only for masking. There are a couple of caveats here: Dyntopo and multires -always- have mask data enabled, and thus as soon as one goes to dyntopo mode or adds a multires modifier he would get the default grey color instead. Matcaps would break when nodes asked for a diffuse material color (this was broken before too). Solved by adding global material state for when matcaps are enabled. Also matcaps don't always played well with VBOs off. Added a few more missing updates for mask operators to notify show_diffuse property as changed. This was also needed on rebuilding dyntopo pbvh. Also make zero mask color duller again after artist feedback.
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2013-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-20Code Cleanup: styleCampbell Barton
2013-12-19Sculpting:Antony Riakiotakis
* Support for symmetry in lasso masking * Optimize away symmetry multiplication of gravity vector if no gravity active * Move flip_v3_v3 to paint_utils (used in masking as well) * Use OpenMP for mask flood fill too.
2013-12-10Style changes to refactor commit.Antony Riakiotakis
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-11-16Code cleanup, cont. A small omission here.Antony Riakiotakis
2013-11-16Code cleanup: Use different redraw options for sculpt mask operators.Antony Riakiotakis
Current redraw options also did an unnecessary normal recalculation on updated nodes. Also, for the box and lasso mask only push an undo node if any vertex has actually been influenced.
2013-11-16Support for symmetrical box masking in sculpt mode.Antony Riakiotakis
Now box masking will take the symmetry options into account.
2013-11-06code cleanup: typo and warning when openmp's disabled.Campbell Barton
2013-10-31fix for uninitialized value use in newly added fcurve normalized view.Campbell Barton
also quiet warning without openmp.
2013-10-30One more optimization for lasso, clip PBVH against object space planesAntony Riakiotakis
of lasso enclosing rectangle.
2013-10-30Optimization of lasso masking using scanfill.Antony Riakiotakis
Thanks to Campbell for the advice!
2013-10-30Some comment fixes, add new sculpt masking operators to menusAntony Riakiotakis
2013-10-30Lasso select tool for masking in sculpting. Initial code, non optimizedAntony Riakiotakis
for now. Used to be ultra terrible but with threading (openmp) there is slightly better performance and is ready for testing. To use press shift-ctrl-lclick. Still no ability to remove mask. Coming soon. Also make box selection threaded (openmp) and comment fix.
2013-10-27Border select for sculpting, using B shortcut, warmup for more advancedAntony Riakiotakis
masking, like lasso selection.
2013-05-30remove redundant includes from cmake and scons.Campbell Barton
2013-05-27style cleanup: nodesCampbell Barton