Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-21 | Pass EvaluationContext argument everywhere | Luca 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-05 | Cleanup: Move imm_draw utils into own file | Campbell Barton | |
These were in BIF_glutil which is documented to be removed, so best not define new API's there. | |||
2017-02-26 | OpenGL: replace gluProject and gluUnProject, and simplify surrounding code. | Brecht Van Lommel | |
Part of T49042. | |||
2016-10-26 | Cleanup: rename functions in BLI_bitmap_draw_2d | Campbell Barton | |
2016-10-26 | Cleanup: move bitmap drawing into its own module | Campbell Barton | |
Bitmap drawing is out-of-scope for a general math API, move to BLI_bitmap_draw_2d. | |||
2016-02-08 | CLeanup: style | Campbell Barton | |
2016-01-24 | Cleanup: style | Campbell Barton | |
2016-01-20 | Cleanup: remove remainings of OMP in sculptpaint area. | Bastien Montagne | |
2016-01-20 | paint_mask.c: OMP -> BLI_stack. | Bastien Montagne | |
2016-01-08 | Math Lib: use x-span for fill_poly_v2i_n callback | Campbell Barton | |
Instead of running the callback per-pixel, pass the x-span to the callback. | |||
2015-11-16 | Cleanup: typos | Campbell Barton | |
2015-10-28 | Fix T46471: Sculpt strokes doesn't mark file as modified | Sergey Sharybin | |
2015-08-06 | Cleanup: whitespace, unused var | Campbell Barton | |
2015-06-20 | Sculpt lasso (used shorts for no good reason) | Campbell Barton | |
2014-10-09 | Sculpt: use bitmap for mask bool array | Campbell Barton | |
2014-10-07 | Cleanup: redundant casts | Campbell Barton | |
2014-07-28 | Fix T41193: 2.71 use 100% of CPU at sculpt | Sergey 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-06 | Add 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-23 | Add ED_paint.h, split out ED_sculpt.h | Campbell Barton | |
also rename some functions to match our convention | |||
2014-05-29 | Math lib: add negate_m3, negate_m4 | Campbell Barton | |
2014-05-29 | Fix 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-29 | Add notifiers and reuse update calls for flood fill operators | Antony Riakiotakis | |
2014-05-07 | Code cleanup: naming. | Antony Riakiotakis | |
Prepend BKE_ to the functions moved in blenkernel for recent bug fix. | |||
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-04-03 | Fix 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-27 | Code cleanup: use booleans where appropriate | Campbell Barton | |
2013-12-22 | Style Cleanup: remove preprocessor indentation (updated wiki style guide too) | Campbell Barton | |
2013-12-20 | Code Cleanup: style | Campbell Barton | |
2013-12-19 | Sculpting: | 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-10 | Style changes to refactor commit. | Antony Riakiotakis | |
2013-12-10 | Refactoring/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-16 | Code cleanup, cont. A small omission here. | Antony Riakiotakis | |
2013-11-16 | Code 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-16 | Support for symmetrical box masking in sculpt mode. | Antony Riakiotakis | |
Now box masking will take the symmetry options into account. | |||
2013-11-06 | code cleanup: typo and warning when openmp's disabled. | Campbell Barton | |
2013-10-31 | fix for uninitialized value use in newly added fcurve normalized view. | Campbell Barton | |
also quiet warning without openmp. | |||
2013-10-30 | One more optimization for lasso, clip PBVH against object space planes | Antony Riakiotakis | |
of lasso enclosing rectangle. | |||
2013-10-30 | Optimization of lasso masking using scanfill. | Antony Riakiotakis | |
Thanks to Campbell for the advice! | |||
2013-10-30 | Some comment fixes, add new sculpt masking operators to menus | Antony Riakiotakis | |
2013-10-30 | Lasso select tool for masking in sculpting. Initial code, non optimized | Antony 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-27 | Border select for sculpting, using B shortcut, warmup for more advanced | Antony Riakiotakis | |
masking, like lasso selection. | |||
2013-05-30 | remove redundant includes from cmake and scons. | Campbell Barton | |
2013-05-27 | style cleanup: nodes | Campbell Barton | |
2013-03-04 | patch [#34103] use boolean in path functions and add comments. | Campbell Barton | |
path_util_1.patch from Lawrence D'Oliveiro (ldo) | |||
2013-02-28 | More UI messages fixes... | Bastien Montagne | |
2012-12-30 | Code cleanup: rename BLI_pbvh to BKE_pbvh | Nicholas Bishop | |
2012-12-15 | move pbvh into BKE, it used many BKE bad level includes. | Campbell Barton | |
now blenlib/BLI doesn't depend on any blenkern/BKE functions, there are still some bad level includes but these are only to access G.background and the blender version define. | |||
2012-10-02 | fix for crash in own recent masking commit with 'flood fill' operator. | Campbell Barton | |
2012-06-06 | style cleanup: (indentation) | Campbell Barton | |
2012-05-23 | style cleanup | Campbell Barton | |