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-02-09Fix ImBuf leaked by Image from View operatorNicholas Bishop
Running this operator and and closing Blender gives this: Error: Not freed memory blocks: 2 ImBuf_struct len: 2480 0x69ba4f8 imb_addrectImBuf len: 1048576 0x6ccc2d8 Fixed with added call to IMB_freeImBuf in BKE_image_add_from_imbuf. Could be fixed in the operator instead, but I think the BKE function is the correct place since the comment says it should take ownership of the ImBuf. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1084
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-02-06Cleanup: styleCampbell Barton
2015-02-05More fixes for high DPI:Antony Riakiotakis
* Radial operators were completely wrong * Dynamic topology detail was also using unscaled number
2015-02-05Fix T43556 clamp brush size before setting it after division by DPI,Antony Riakiotakis
avoids nasty zero size brushes.
2015-02-05Fix part of T43556 brush increase/decrease size operators do not updateAntony Riakiotakis
the UI sliders.
2015-02-03Possible NULL de-reference on fullsceen checkCampbell Barton
Also quiet some other minor warnings
2015-02-03cleanup: indentation & redundant castsCampbell Barton
also use 'const' bucket rect args
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-29Fix texture sampling getting srgb color after fix for subsurf sampling.Antony Riakiotakis
2015-01-29Gooseberry request: Dithering support for byte images when painting onAntony Riakiotakis
projection painting (2D will be separate commit).
2015-01-29Fix T43207 fill brush fails in perspective modeAntony Riakiotakis
Divide only the length of the edge by the homogenous coordinate, not the final coordinate. Also fix the swapping (though it's still a bit doubtfull if it's really needed)
2015-01-29Fix T43454 color is washed out in textured brushesAntony Riakiotakis
Yet another color space issue, we multiplied texture color with srgb brush color and retrasnformed it to srgb. Now use the linear brush color for the multiplication.
2015-01-29Whitespace cleanupAntony Riakiotakis
2015-01-28Code cleanup: break up project_paint_begin() into smaller functionsNicholas Bishop
This initialization function was massive with lots of local variables, quite hard to follow. Splitting up doesn't make it perfectly clear, but a bit better. The changes are mostly quite mechanical splitting apart code, plus a few new temporary structs for passing data without too many confusing args. No intentional changes to functionality. Reviewed By: psy-fi Differential Revision: https://developer.blender.org/D1035
2015-01-28Properly decrease users of images when deleting a paint slot.Antony Riakiotakis
2015-01-27Fix T43427: Particle system children sometimes not generated on reloadSergey Sharybin
The issue was caused by the conflict between preview render which would set R_NO_IMAGE_LOAD flag on the renderer and texture samplers called outside of the render pipeline trying to use this flag. Now the sampler functions accepts extra argument so render pipeline can still skip image load, but calls outside of the pipeline will nicely load all the images. Not cleanest change in the world but good enough to unlock gooseberry team, and assuming we already had pool passed all over the place it should be all fine. Will need to reshuffle arguments into SamplerOptions structure later.
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-24Cleanup: styleCampbell Barton
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2015-01-12revert part of 7a1dc20Campbell Barton
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-11Cleanup: quite some harmless but noisy warnings from gcc...Bastien Montagne
2015-01-09Fix texture sampling with generative modifiers - sample backbufferAntony Riakiotakis
returns indices in mesh face range
2015-01-09Fix rotate around selection only working if object is at origin forAntony Riakiotakis
texpaint
2015-01-08Fix crash in texture paint sampling when sampling materials withoutAntony Riakiotakis
textures slots
2015-01-08Fix invalid memory access in gradient brushes - could cause a crash inAntony Riakiotakis
MacOS. This looks like an oldie and should not influence release, but if we do make an 'a' build it's safe to include. Report by Craig Jones, thanks!
2015-01-05More border clamping removed.Antony Riakiotakis
2015-01-04cleanup: use 'coords' abbreviation for functions.Campbell Barton
2015-01-02cleanup: styleCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-31Fix T42984 detail flood fill not respecting mask values for smooth/sharpAntony Riakiotakis
curves. Issue here is that brush curve could return negative values. This would result in overflow of mask values. Those were not visible during real time preview because result would be clamped. We had two functions in the code, one of which allowed negatives but I don't think that we really want that, users have no control over the negative values at all anyway. Thanks to the reporter, Leon Cheung for figuring out the issue :)
2014-12-29Rotate around selection now will work on last stroke position in textureAntony Riakiotakis
paint too.
2014-12-29Move average stroke from sculpt session to unified paint settings so itAntony Riakiotakis
can be reused by other paint systems too.
2014-12-29Cleanup: get rid of sculpt minmax and reuse last stroke function (codeAntony Riakiotakis
did that anyway, just kept the result in an intermediate variable)
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-12-19Minor cleanup to previous commitAntony Riakiotakis
2014-12-19Fix T42543 projection painting fails when faces are perpendicular to screen.Antony Riakiotakis
This is UV barycentric interpolation failing for triangles where vertices are colinear in screen space. To fix this, we detect this early on so we do the interpolation on edges instead of triangles. Such triangles will never be painted on unless we have occlusion and culling off (since, arguably they are self occluded and almost back-facing). The code still does not fill the whole area but this can be checked separately.
2014-12-18Flood fill in projection painting does not do bounds checking anymore.Antony Riakiotakis
It should now fill the whole mesh with color even if parts of it are outside the screen - still need to be in fron of the camera though. Thanks @Campbell for the trick :)
2014-12-04Fix building on OSX when OMP is enabled.Bastien Montagne
Reported by sebastian_k over IRC, thanks!
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-28Cleanup GPU: get rid of some extremely legacy draw code.Antony Riakiotakis
Basically this commit gets rid of most of the derived mesh immediate mode drawing (cases such as subsurf excluded). Even when VBO is turned off in user preferences, we still use vertex arrays, which are very similar to VBOs but memory is client side. Vertex arrays are OpenGL 1.1 so compatibility is not an issue here. Reviewers: campbellbarton, sergey, jwilkins Differential Revision: https://developer.blender.org/D919
2014-11-28Cleanup: duplicate headersCampbell Barton
2014-11-26cleanup: style & tipsCampbell Barton
2014-11-24Fix button to add simple UVs not getting removed after pressing it once.Antony Riakiotakis
2014-11-21Cleanup: typoCampbell Barton