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
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
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-26* Factored out some duplicated code from rna_brush into paint.c, added a new ↵Nicholas Bishop
function that checks whether a brush is used by that paint struct * Fixed an improperly initialized variable in BKE_previewing_free_id * Added an RNA access function to get the icon associated with a value
2010-07-26== Sculpt ==Nicholas Bishop
More icon work * Added icon defines for all the brushes * Load all the brush icons after loading regular Blender icons * Added the brush icons to their respective tool enums in RNA * Fixed a couple unused-variable warnings
2010-07-26== Sculpt ==Nicholas Bishop
Minor sculpt cleanups * Moved the (previously extern) declarations of the brush icon data to ED_datafiles.h * Set sculpt tool RNA to alphabetical order, quite a long list now
2010-07-23* removing the notifiers I added until I can discover the most lightweight ↵Jason Wilkins
way to achieve the same thing
2010-07-22== Sculpt/Paint Fixes ==Jason Wilkins
* Fix: unify strength and size did work consistently with other paint modes * Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels * Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius * Fix: The default spacing for vertex paint brushes was 3%, should be 10% * Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default * Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings * Fix: The setting of pressure sensitivity was not unified when strength or size were unified. Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected * Fix: When using [ and ] to resize the brush it didn't immediately redraw * Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly. * Fix: other paint modes did expose the ability to have a custom brush colors, so I added the small bit of code to allow it. Note: I made all of the other paint mode brushes white. Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color. * I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back. I'm not completely sure what this option does so I don't want to disturb it for now.
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* typo fixJason Wilkins
2010-07-20* can use file for brush iconJason Wilkins
* fixed memory leaks * moved some of the brush icon code around * the update of the icon after a change is more responsive
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-24remove unused rna includesCampbell Barton
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-16option to lock alpha while projection painting.Brecht Van Lommel
(commit 27538 by Campbell from render25 branch)
2010-03-08Change airbrush rate min/max to allow lower values and add separateBrecht Van Lommel
soft/hard limits for even lower/higher ones.
2010-02-12correct fsf addressCampbell Barton
2010-02-11Operation Dot-Kill finishedDaniel Salazar
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-02Fix #20926: 2d image paint was missing clone image, clone alpha, and wrapBrecht Van Lommel
option in the UI, also fixes missing refresh when changing these and wrong order in keymap for clone grabbing operator.
2010-01-26Use #include "BLI_math.h" instead of _USE_MATH_DEFINES to get M_PI defined.Brecht Van Lommel
2010-01-25* Added #define _USE_MATH_DEFINES Thomas Dinges
in some files to get Blender to compile again on msvc. Without that, it didn't found M_PI.
2010-01-25Radians -> Degrees (in UI)Matt Ebb
Rotations are now stored internally as radians, while exposing degrees in the UI - in the graph editor and UI controls. This is done in two areas: 1) Using the unit system to convert RNA data to display as degrees in the UI controls 2) FCurves now use degrees for rotation, so you can edit in the graph editor what you see in the UI. All rotation data is consistently accessible in DNA and RNA as radians, degrees are only used for the UI controls and graph editor. This commit includes conversions will convert old files (stored data and also fcurve data) to the new units, hopefully everything should go smoothly! Part of this also changes a few properties that were hard-coded as degrees before (such as IK pole angle and brush texture rotation) to also use the same consistent system of radians (dna/rna) and degrees (ui). Thanks to Joshua for hints and review here too.