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-03-13Fix T47760: Toggling GPencil's "Selection Mask" via Python does not update UIPhilipp Oeser
Add rna updates to greasepencil sculpt properties D1849 by @lichtwerk, reviewed by @aligorith
2015-12-14Usual i18n fixes, and cleanup: fix 'randomise' -> 'randomize' spelling in code.Bastien Montagne
2015-12-13Cleanup: style/warningsCampbell Barton
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-07-23Sculpt Tiling FeatureAntony Riakiotakis
Adds 3D-Tiling options to the sculpt tool. This is very similar to the symmetry options in the sense that it replicates the strokes. For tiling this replication happens with a linear offset to fill the whole object along one or more axis. This allows to create geometry that can be tiled seamless. One use case is the creation of tileable textures by sculpting high resolution geometry and then rendering it with an orthographic camera to create maps for diffuse, normal, etc Notes: Patch by Tilman Blumhagen with minor changes (move tile flags to paint symmetry flags). After some feedback from artists, leaving tiling value to constant offset, though I suspect that some method that uses the object bounding box dynamically might be good to have too. It can be added later though :) Thanks a lot for the patch! Patch: D1426
2015-06-05Fix T44960: Crash with 'Shape Cut' in edit hair mode.Bastien Montagne
This is only supported for mesh objects so far. Also, abort in case there are no faces in dm (instead of crashing on NULL BVH tree...).
2015-05-06Feature request: Dyntopo detail expressed in percentage of brush radius.Antony Riakiotakis
Not sure how useful this will be but people have requested it so, here it is...
2015-04-15Increase max brush size from 200 to 500Campbell Barton
2015-03-18RNA: move palette into its own fileCampbell Barton
2015-02-17Hide 3D Cursor in Paint Modes (with exceptions)Julian Eisel
= Hide 3D Cursor in Paint Modes (with exceptions) In paint modes, the 3D Cursor mostly is rather useless so it's more annoying than useful. This patch aims to hide the cursor in cases it's not used. Included exceptions (cases where cursor is drawn in paint modes): * Active object is in weight paint mode and a selected bone in pose mode can be found * Clone brush (only if //Clone from paint slot// is disabled) There might be more exceptions where the cursor should be shown in paint modes, but those are all I could find for now. Feel free to hint me for more. Note: After D1110 was rejected, Campbell and me discussed this a bit more on IRC and agreed that this behaviour might be a good solution. Reviewers: psy-fi, campbellbarton Reviewed By: psy-fi, campbellbarton Projects: #user_interface Differential Revision: https://developer.blender.org/D1113
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-10Cavity mask support for texture painting.Antony Riakiotakis
Title says it all, options can be found in the options panel, A slider controls the amount of cavity masking that is applied while it's also possible to invert the mask and paint outside or inside cavities. Again we might greatly benefit from caching of the cavity result, but that should only affect startup time for the stroke.
2015-01-29Gooseberry request: Dithering support for byte images when painting onAntony Riakiotakis
projection painting (2D will be separate commit).
2015-01-20New hair editing feature "Shape Cut", for cutting hair based on a meshLukas Tönne
shape instead of a brush tool. The brush cutting tool for hair, while useful, is not very accurate and often requires rotating the model constantly to get the right trimming on every side. This makes adjustments to a hair shape a very tedious process. On the other hand, making proxy meshes for hair shapes is a common workflow. The new operator allows using such rough meshes as boundaries for hair. All hairs that are outside the shape mesh are removed, while those cutting it at some length are shortened accordingly. The operator can be accessed in the particle edit mode toolbar via the "Shape Cut" button. The "Shape Object" must be set first and stays selected as a tool setting for repeatedly applying the shape.
2014-12-24Fix rna paint update callbacks assuming meshesCampbell Barton
2014-12-09Fix bug reported by kopias on irc, crash when attempting to set canvasAntony Riakiotakis
with a non-mesh object selected
2014-12-01Fix for potential bug in paint brush RNA updates, was casting to wrongLukas Tönne
DNA type. The update function is for the Paint struct, containing a Brush pointer property, not Brush itself. Probably went fine so far because was only used for a notifier pointer, but still ...
2014-10-06Texture painting:Antony Riakiotakis
Do not generate materials/images/UVs if they are missing. Now we spawn a panel ("Missing Data") with operators to generate the missing data and pop a warning if user tries to paint without them. The reason we have reverted this is that it is too easy to end up with more textures than we wanted. It was impossible to enter texture paint without having textures added, and code makes too many assumptions about what user may want. Discussed during Sunday's meeting. This might be a candidate for 2.72a but I'm not sure how other artists will take this (and how refined and crash-free it is), better make a few iterations first. And for interested parties...test please, don't wait until after a release to poke with such issues. Also, add slot operator now adds a new unconnected image node in cycles. Only used in the "Missing Data" panel. This should be a separate commit but I am squashing it into the same commit because it relies too much on changes done here and can be reverted easily if complainstorm occurs again.
2014-09-22Projective painting:Antony Riakiotakis
* Make clone UI a bit more descriptive * Don't set images to image editors that have a pinned image.
2014-09-03Texture painting:Antony Riakiotakis
Free draw objects instead of tagging object update and doing recalculation of derived meshes. The reason is that if user deletes all slots and tries to paint, the system will invalidate the cached in projection painting derivedmesh. This will promptly crash. Invalidating the draw objects only is also much cheaper.
2014-08-28Texture painting:Antony Riakiotakis
Include explicit control for texturing: This commit introduces a painting mode option, available in the slots panel. The default value "Material" will create slots from the blender material, same as just merged from the paint branch. The new option "Image", will use an explicit image field that artists can use to select the image to paint on. This will should allow painting regardless of the renderer used or for use in modifiers.
2014-07-24UI cleanup:Antony Riakiotakis
New layer in texture painting will now allow entering image parameters, similar to new image.
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-06-01Fix T40342 smooth shading flag in dyntopo does not work under MSVC.Antony Riakiotakis
Classic case of integer flag AND-ing result passed to boolean and failing.
2014-03-31Make dyntopo detail size maximum smaller (more than 40 pixels should notAntony Riakiotakis
be needed according to mapping in code) and change the property to float.
2014-03-23Detail sampling operatorAntony Riakiotakis
Located on topology panel. To use just click on button and click on mesh. Operator will just use the dimensions of the triangles below to set the constant detail setting. Also changed pair of scale/detail size with nice separate float percentage value.
2014-03-22Flood fill for dyntopo constant detail mode.Antony Riakiotakis
Nothing spectacular here, fill tools are easy. Just take the dyntopo code and repeat until nothing more to do. The tool can be located in the dyntopo panel when the dyntopo constant detail is on. Also added scale factor for constant detail. This may change when detail sampling gets in, I am not very happy with having two numbers here, still it will give some more control for now.
2014-03-07Code cleanup: styleCampbell Barton
2014-03-06Experimental dyntopo feature:Antony Riakiotakis
Dyntopo detail in object space. This allows to set the detail in percentage of blender units and sculpt in this detail constantly, regardless of the distance to the mesh. This commit just enables the functionality, which is really trivial. There will be some more commits like detail flood fill and detail sampling in the future.
2014-02-27Fix T36654.Antony Riakiotakis
There is a key conflict between grease pencil shortcuts and sculpt shortcuts (D and ctrl D were taken by draw brush and dyntopo toggle, respectively). Based on feedback, change dyntopo toggle to ctrl-T and draw brush to X. Also add missing property update for dyntopo detail size.
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2013-12-18Vertex/weight paint: remove "Use All Faces" option.Brecht Van Lommel
This is now always enabled, when you want to paint on a individual faces you can use face selection masking instead. Fixes T37855.
2013-12-12RNA: Add pixels property typeScott Petrovic
2013-12-12Sculpt mode Gravity feature from GSOC 2010 by Jason Wilkins.Antony Riakiotakis
Reviewers: sergey, brecht, campbellbarton, jwilkins Differential Revision: http://developer.blender.org/D89
2013-12-10Style CleanupCampbell Barton
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-26Sculpt Dynamic Topology: support collapsing edges without subdividing edges ↵Brecht Van Lommel
as well This allows you to choose between subdivide edges, collapse and both. Being able to only collapse edges can be useful to simplify meshes with accidentally introducing more detail. Reviewed By: psy-fi, carter2422 Differential Revision: http://developer.blender.org/D15
2013-10-30Add some update notifiers for a few boolean paint properties (probably aAntony Riakiotakis
lot more needed) so that they get properly updated in UI when the property is edited through python or a custom key binding to context toggle operator.
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-06-23Clarify tooltip for Weight paint toolGaia Clary
2013-04-13Fixes:Antony Riakiotakis
* Overlay invalidation did not happen when changing brush, .either through UI or through shortcuts * Add initiliazation of curves before threaded overlay texture evaluation or we may get memory leaks due to race conditions.
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-03-06Texture paint refactoring commitAntony Riakiotakis
Adding new file paint_image_proj.c which includes the projective texture painting part of texture painting, using the stroke system. To access the new code path use Shift-LClick. The new code path still is problematic with tablet pressure and I will be looking into ways to unify this across paint systems next. The old code is still present and can be accessed by regular Lclick as usual. Also removed 3D (non-projective) painting from 3D viewport. TODO: * Add pressure influence code to stroke, remove from every other paint system code, including texpaint. * Put UnifiedPaintSettings update in PaintStroke code.
2013-02-14add missing NULL checks - could cause crashes in rare cases.Campbell Barton
2013-02-12fix [#34198] Scene unit size and dyntopo detail sizeCampbell Barton
there were 2 bugs here. - int buttons scaling values on input but not on display. - pixel distances were using PROP_DISTANCE subtype - which isn't correct. added assert incase PROP_INT values have PROP_DISTANCE subtype applied in future.
2013-02-05add RNA_define_animate_sdna() so animation can be easily disabled when ↵Campbell Barton
defining many properties - currently use to disable animating brushes and toolsettings.
2013-01-22add path for particle brushCampbell Barton
2013-01-22add rna paths to toolsettings and its substructs, useful for python scripting.Campbell Barton
2013-01-05style cleanup: also add checker for function brace placement.Campbell Barton