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
2012-06-06style cleanup: (indentation)Campbell Barton
2012-05-17Fix for clay strips brush not showing Add/Subtract buttons.Nicholas Bishop
2012-05-15Add 'area' mode for brush texture projection.Nicholas Bishop
This is similar to the 'view' mode, but uses the average local surface normal rather than the view normal for projection. Original code by Jason Wilkins (GSoC). Documentation: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Sculpting#Brush_Map_Mode
2012-05-15Code/UI cleanup: improvements for sculpt brush texture settings.Nicholas Bishop
Settings are shown in both the View3D toolbar and texture properties panel; code is now in shared sculpt_brush_texture_settings() function in properties_paint_common.py. Also added a few new properties to the SculptCapabilities RNA to replace "X in {Y, Z}" tests in the Python code.
2012-05-15Code cleanups for sculpt-related code.Nicholas Bishop
* Renamed flip_coord as flip_v3_v3 * Added flip_v3 for same input/output * Moved special case for grab brush's normal into calc_area_normal() * Renamed 'fixed' texture mode as 'view plane', mirrors Brush.sculpt_plane terminology
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-05code cleanup: brush/camera namingCampbell Barton
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-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-04-07fix for passing float to RNA_def_property_ui_range() int argument.Campbell Barton
2012-03-18Re-enable the clay strips sculpt brush.Nicholas Bishop
Most of the tool code was already in place, only significant functionality change is that anchored stroke works now. TODO: * Gave it a new icon, but could use a better one * Default .blend should have a clay strips brush
2012-03-18Rename 'clay tubes' to 'clay strips' and include it in the capabilities RNA.Nicholas Bishop
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-15Add RNA for brush capabilities (sculpt-only for now.)Nicholas Bishop
Added a new RNA-only nested structure, Brush.SculptCapabilities. It contains read-only properties that use the current sculpt tool (and occasionally other brush properties) to determine whether some feature is available. For example, the grab and snake-hook brushes don't support the strength property. Querying brush.sculpt_capabilities.has_strength will return false only if one of these brushes is selected.
2012-03-15Un-abbreviate 'use_space_atten' (Brush RNA) to 'use_space_attenuation'.Nicholas Bishop
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
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.
2012-01-15Fix all remaining unified paint settings uses of current Scene.Nicholas Bishop
Things like brush size and strength accessors now take a scene parameter rather than guessing about which Scene's unified paint settings to use. Setting the size/strength through RNA can now be done separately for the brush or the UnifiedPaintSettings. The UI python code required updating to check whether the size/strength controls should use brush or UnifiedPaintSettings RNA. Radial control also required some updates to switch between the two RNA sources.
2012-01-13Fix some RNA/scene issuess with unified paint settings.Nicholas Bishop
Added RNA for the unified paint setting flags that matches the Brush RNA. Fixed the getter/setter functions to avoid guessing which Scene's UnifiedPaintSetting to use. The getter functions take a Scene pointer now, the setter functions are removed in favor of a more explicit approach through RNA: Rather than RNA choosing whether a property's value is in the Brush or in the UnifiedPaintSettings, there are now explicit properties for both. The UI code has been modified accordingly to switch the toggle buttons between affecting the Brush and the UnifiedPaintSettings.
2011-12-04A (hopefully last) bunch of fixes and tweaks to UI label and messages (found ↵Bastien Montagne
while translating in french).
2011-11-22More UI messages fixes and tweaks (found while translating in french).Bastien Montagne
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-31tag unused rna args.Campbell Barton
2011-05-28rearranged previous patch to compile with C89Jason Wilkins
conversion to double probably not needed better comments
2011-05-28Introduce vars before using them, otherwise compile fails (reminder: with C, ↵Nathan Letwory
present all your vars at the begin of the scope _before any other statement_).
2011-05-28Fix: The radial control would fail, in sculpt mode, to set size if ↵Jason Wilkins
object-space sizing was enabled. This was caused because a small part of sculpt's radial control code did not make it into the new version. The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed. The solution I implement here is to do the same scaling inside the RNA callbacks. This way, users of those properties do not have to worry about inconsistency. I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size. I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems. In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases. In any case, this at least fixes the immediate problem.
2011-05-26add the property as an argument to enum item functions, not used yet but ↵Campbell Barton
needed for dynamic python enums.
2011-05-01- Description of texture angle sources and stroke methodsSergey Sharybin
- Fixed bug with empty tooltip for some ENUMs
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-11patch [#26861] Spelling, Typos, and GrammarCampbell Barton
- also fix own bad assert from yesterday & remove testing cmake print.
2011-04-022.5 UI:Thomas Dinges
*Brush option "size" had different naming in 3D View / Image Editor. Ported back name "Radius" to RNA (Brush and ParticleBrush) Discovered by Bart Crouch. Thanks!
2011-04-01while looking into adding back brush tool keys found mixed texture/image ↵Campbell Barton
paint rna vars, using 'image paint' internally.
2011-03-01Fix #26218: texture paintSergey Sharybin
- Added option "Fixed Texture" to the UI. Because of strange reason, this feature was implemented but hidden from users. Would be cool, if somebody familiar with 2d texture paiting check. - Fixed some issues in existing code of fixed texture paiting. It now handles brush radius and curve correct. - Also fixed issue with paiting with texture from node tree - it used to be painted with regular brush color instead of texture.
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
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-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-16rename IDPropertyGroup to PropertyGroupCampbell Barton
also renamed IDProperty to PropertyGroupItem (these are not referenced for common usage and we already have 'Property' defined).
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-04Grease Pencil: Redo for sketching sessions now worksJoshua Leung
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-08-18rna renaming for 'Brush' structCampbell Barton
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-07-30Revert [#23093] Curve -> CurveMapping in brush. Don't use camel case forBrecht Van Lommel
UI text, and this makes it inconsistent with the property name too, Curve is just fine...
2010-07-30bugfix [#22660] Text Boxes properties are not animateable.Campbell Barton
suggestion [#23093] Curve -> CurveMapping in brush...
2010-07-27* Partially revert r30763, where PROP_IMAGEPATH was added.Nicholas Bishop
* Brush icon property back to not using image browser until a better solution is decided on.
2010-07-26* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, ↵Nicholas Bishop
but for images only. * Changed UI code to display image browser for PROP_IMAGEPATH * Set the icon_filepath RNA property for brushes to use PROP_IMAGEPATH * Changed preview icon drawing to ignore unset icons * Fixed const warnings in brush RNA
2010-07-26* was suggested I combine all the direction modes into a single enumeration ↵Jason Wilkins
by using RNA_def_property_enum_funcs