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
2013-02-02style cleanupCampbell Barton
2013-01-24fix for G,G causing vertex slide in UV/Image window, also comment unused ↵Campbell Barton
defines/enums.
2013-01-16Get rid of the BRUSH_FIXED_TEX flag, use mapping modes instead. VersionAntony Riakiotakis
patched all previous texture paint brushes to use tiled mapping since mappping is now shared between 2d and 3d painting.
2012-12-30Add simplify brush for sculpt modeNicholas Bishop
2012-06-15Ensure enums in DNA files has got explicit valuesSergey Sharybin
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
2012-05-11style cleanup: mainly sculpt/whitespaceCampbell Barton
2012-05-11Add mask brush for sculpt mode.Nicholas Bishop
The mask brush currently has two modes, 'draw' and 'smooth'.
2012-05-11Add new options to PAINT_OT_brush_select, toggle and create_missing.Nicholas Bishop
The toggle option, if enabled, will toggle back and forth between two brushes. (The first brush of the desired tool type will be toggled to, running the toggle again switches back to the previously selected brush.) If no brush of the desired type is found, and the create_missing option is enabled, a new brush of that type will be created and set.
2012-04-30Add per-brush weight field.Nicholas Bishop
Patch from Jaggz H, thanks! [#31096] Weight-painting: Brush-specific weights http://projects.blender.org/tracker/?func=detail&atid=127&aid=31096&group_id=9 Each brush's weight can now be set individually, can also enable unified setting (same as size and strength have.) Added readfile code to the patch: subversion bumped to 1, brushes get default weight of 0.5, unified weight enabled by default and value from old vgroup_weight field.
2012-03-18Rename 'clay tubes' to 'clay strips' and include it in the capabilities RNA.Nicholas Bishop
2012-03-18Use enums for brush flags and sculpt tools.Nicholas Bishop
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-21change filepath limit from 240 to 1024Campbell Barton
2012-01-16use FILE_MAX instead of 240 or comment where define cant be used.Campbell Barton
2012-01-15minor cleanup to weightpaint code, move color & weight blending into own ↵Campbell Barton
function (was duplicated), also add enum for vpaint blend modes.
2011-12-30minor dna header cleanupCampbell Barton
2011-12-28make MOD_dynamicpaint.c use more typical gpl2+ text and some formatting ↵Campbell Barton
edits in DNA
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-02-25Fix #26158: The layer hight of the layer tool cannot longer be controled by ↵Sergey Sharybin
the strength of the brush, as it was in 2.49 Layer height used to be controlled with brush radius, quite confusing decision. Added new property for brushes - height for adjusting affectable brush height (it could be not only layer height in the future).
2011-02-17DNA header files are now grouped under the same module. No further ↵Nathan Letwory
documentation done.
2011-01-16Fixed bug [#25649] Image editor paint icon missing until enter weightNicholas Bishop
paint A couple underlying issues: * Paint icon was looking only at the object mode to determine what the "current" mode is, but that gave problems when the object mode was anything other than texpaint, but 2D image paint was turned on. Fix was to also look at what space is being drawn, and only if it's in the 3D view does it look at the ob mode. * The brushes lists weren't getting filtered correctly in the same case where 2D image paint was on but a different object mode is enabled. Fixed by changing the brush rna poll to look at the paint source, rather than the object mode.
2011-01-04Fix #25483: Brush appearance colorSergey Sharybin
Set special brush flag when inversion stroke was started, not wery nice, but we can't make better with current events system implementation.
2010-12-14Fixed bug #23826, Other kind of brushes appear in sculpt modeNicholas Bishop
Was another problem caused by each brush being allowed in more than one paint mode. Added a new field to the brush struct to indicate what mode the icon was last set for; if it's changed then reset it. Not sure if it's really worth it to cache this, could remove it for simplicity.
2010-08-04Brush/Paint internal changesCampbell Barton
- remove brush array for each Paint struct, just use a single brush pointer. - removed rna function based template filtering. - filter brushes using a flag on the brush and the pointer poll function. - set the brushes using a new operator WM_OT_context_set_id(). TODO - remake startup.blend, currently brush groupings are lost. - rewrite WM_OT_context_set_id() to use rna introspection.
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-07-26== Sculpt ==Nicholas Bishop
Fixed brush icons loading slowly * Changed brush icon property from an enum to a flag that toggles whether a custom file is used for the brush icon * Changed get_brush_icon to only handle loading external icons, built-ins are handled through the regular icon system * Modified preview icon drawing to allow built-in icons * When not using a custom icon, a default icon is selected based on the current tool TODO: * Allowing preview to show built-in icons makes the brush texture selector look ugly when nothing is selected. As discussed on IRC though, the nothing-selected state needs to be clarified anyway; I'll address this in another commit * Use image browser when selecting a custom icon * Selecting the default icon is ugly (uses the active object's mode), this can be fixed by making brushes know which paint mode they are part of
2010-07-21* Polish preset did not enable tablet pressure for strengthJason Wilkins
* Turned off 'Front-Face Only' for all brushes, it needs more testing * Added brush icons for other paint modes * Moved 'tool' panel to bottom of all paint modes * Moved 'appearance' panel to be next to bottom * Moved brush selector panel to top of all modes * Closed all panels except the brush selector panel * Turned off X symmetry
2010-07-20* Made the default sculpt icons an internal part of the executableJason Wilkins
* Default icons can be selected from a menu * Option to make a custom icon from a file is present but the UI is disabled because of a mysterious crash * New startup.blend that has the appropriate icons selected
2010-07-20* Images for brush icons are now reloaded when they are needed from an ↵Jason Wilkins
external file * First, try to load the file from the given filename. This is either absolute or relative to the current .blend * If file is found using the given filename directly then look for the file in the datafiles/brushicons directory (local, user, or system). * Note: This commit does not update the .blend to reference the default icons * Note: This commit does not make sure that the build system copies the default icons to the 2.52/datafiles/brushicons directory
2010-07-14Merge GSOC Sculpt Branch: 28499-30319Jason Wilkins
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins See log of that branch for details.
2010-03-16option to lock alpha while projection painting.Brecht Van Lommel
(commit 27538 by Campbell from render25 branch)
2010-02-12correct fsf addressCampbell Barton
2010-01-20Moved the image paint tool and the vertex/weight paint tool (blend mode?) Matt Ebb
to the Brush data. This now works the same way as sculpt, with named preset brushes that retain settings.
2010-01-03Changes to Brush texture workflowMatt Ebb
This changes how textures are accessed from Brushes, with the intention of simplifying the workflow, and reducing the amount of clicking. Rather than the previous texture slots (which didn't work as a stack anyway), brushes now have a single texture linked. Rather than taking time having to set up your slots in advance, you can now select and change textures directly as you sculpt/paint on the fly. For complex brushes, node textures can be used, or for fast access, it's easy to make a duplicate of your brush with the texture you like and assign a hotkey. Brush textures can now be chosen from a new Textures panel in the brush tool properties - click on the thumbnail to open a texture selector. This is done using a new variation on the ID template - the number of rows and columns to display in the popup can be customised in the UI scripts.
2009-11-06Sculpt: WIP brush behavior changesBrecht Van Lommel
* Draw/Inflate/Layer now keep working on the original mesh coordinates and normals from when the stroke started. This helps avoid the mesh blowing up, but can still be better. The old behavior is still available as "Accumulate" in the UI. * This requires some more memory usage for the BVH, would like to find a way to avoid that. * Smooth falloff is now the default. * Spacing is now enabled by default, with a value of 7.5. * Anchored now stores normals per node to save some memory.
2009-09-18- jitter for painting (image and projection painting, others can be added)Campbell Barton
- remove falloff setting now the curve is used. - bugfix for airbrush & tablet, with no movement it would assume 1.0 pressure. - rna, use the use_* prefix for brush options.
2009-08-212.5/Paint:Nicholas Bishop
* Updated texture paint UI for stroke settings. * Removed duplicate brush blend types, just use the ones defined in imbuf instead
2009-08-182.5/Sculpt:Nicholas Bishop
* Added UI for brush stroke. Contains for now spacing and smooth stroke * Removed Sculpt UI for airbrush -- doesn't do anything in sculpt mode * Improved smooth stroke by using float instead of int precision, so smooth stroke is even smoother now
2009-08-142.5/Sculpt:Nicholas Bishop
* Moved the brush texture settings to MTex/TextureSlot. The mapping settings now show up in the texture panel, pretty much like they do for textures used with materials. TODO: * Tiled mode should not show Z size setting * Add a locked mode so that texture size can be changed uniformly like in 2.4x
2009-08-09Sculpt/2.5:Nicholas Bishop
* Added toolbar UI for setting "anchored" mode * Added a "persistent" mode for the layer brush; basically you can keep sculpting on the same layer between strokes when this is on. There's a button to reset the base so you can add another layer on top of that, and so on. This feature was suggested by Blenderer on BA, thanks! Note, I think these options could use better names in the UI, but I couldn't really think of anything very descriptive, suggestions welcome
2009-07-262.5: PaintingBrecht Van Lommel
Various fixes for painting, sculpting and particle edit, still much to be done... * Move RNA paint and sculpt structs into rna_sculpt_paint.c, * Added Particle Edit RNA. * Some tweaks to existing Paint RNA. * Put texture paint and particle edit object in context. * Fix some errors in the brush layout, properly doing None checks, fixing some wrong property identifiers. * Added tool enum for texture paint and particle edit in panels. * Allow editing brush textures in the texture buttons, still with a stupid toggle, ideas for how to make the connection better are welcome.
2009-07-012.5/Sculpt:Nicholas Bishop
== Re-added smooth stroke == UI: toggle is just in the sculpt menu for now. Also changes the sculpt paint cursor slightly, draws a line between previous and current locations. It's a different implementation than in 2.4, works like this: The stroke interpolates between the last mouse location and the current location, weighted towards the previous location. If the stroke gets within a certain radius of the current mouse location, the stroke stops. This radius allows for sharp turns in the stroke. Todo: there are two hard-coded parameters that should become user settable, that's the weighting between previous and current locations, and most important, the no-update radius. Note also that this option was added as a per-brush flag, worth discussing whether that's the correct place, or whether it should be a sculpt setting like symmetry? == Improved stroke spacing == The previous implementation of stroke spacing simply guaranteed that stroke dots would not occur any closer than the space setting. It now forces stroke dots to always be the specified distance apart. Todo: Performance gets pretty awful with a small spacing setting, this needs optimization.
2009-06-212.5/Sculpt:Nicholas Bishop
Added a clay brush. It behaves like a combination of the flatten and draw brushes. Credit to Fredrik Hannson for the original patch (#18666)
2009-02-202.5:Brecht Van Lommel
* Image painting back. 2d paint, 3d paint and projection, undo, pressure, repeating paint operations, etc should all work. Drawing cursor needs a bit of work, only gets shown when enabling texture paint mode now. * Move sculpt, image paint, and vertex/weight paint into a single sculpt_paint module. Doesn't make much difference now, but nice to have it together for better integration and consistency in the future.
2009-01-25More radial control work.Nicholas Bishop
* Added a rotation setting to brush (and brush RNA) * Brought back strength and rotation modes for radial control * Brought back brush texture for radial control * Turned off display of sculpt brush during radial control operator
2009-01-22Brought back sculpt smooth brush. Also added a new brush flag for setting ↵Nicholas Bishop
whether to use brush spacing.
2009-01-21Brought back textures for sculpt mode. These are stored in Brush DNA now, as ↵Nicholas Bishop
well as the three texture modes (drag/tile/3D).
2009-01-07Changes/cleanup for sculptdata and brushes. Summary:Nicholas Bishop
* Removed texfade, wasn't a very useful option (same result can be created with the falloff curve) * Removed CurveMapping from sculptdata, moved instead to Brush * Removed rake field from sculptdata, moved to Brush.flag * Moved Anchored flag from sculpt to Brush, same for direction field * Removed BrushData, replaced usages with the regular Brush type * Removed hardcoded brushes and brush_type from sculptdata, replaced with a pointer to the current Brush * Made sculpt tool type settable in Brush * Changed symmetry and axis lock fields to flags
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.