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-12fix [#28883] redraw problems for particle mode's brush menuCampbell Barton
The enum items for getting the brush tool (which the UI draws), would change after the 3D view first draws on exiting editmode. Since the panel draws before the 3D view does, the UI had a glitch. Fix by using psys_get_current() for the enum, rather then PE_get_current() which depends on an updated particle system.
2011-05-31tag unused rna args.Campbell Barton
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-12== Radial control ==Nicholas Bishop
Patch to make the radial control more generic with RNA. Patch was reviewed here: http://codereview.appspot.com/4280080/ Prior to this update, the radial control code in trunk had generic parts of the radial control implemented as an incomplete operator within WM. Then each different user of the radial control had to implement a separate operator to actually pass in specific brush data -- e.g. sculpt's brush size, vpaint's brush size, etc. This patch removes all the extra operators and makes the WM operator do everything. It now takes several RNA path strings as its properties -- the only required property is data_path, which specifies the data to be modified by the radial control. The other paths affect display in various ways, e.g. rotation, color, etc. In addition to decreasing some duplicate paint brush code, these updates make it pretty easy to enable radial control for other purposes (and it can be set up entirely though python or keymaps, no extra C code needed.)
2011-05-04Own TODO item: sculpting on constructive modifiersSergey Sharybin
- Constructive modifiers are enabled by default in sculpt mode. - There's option to disable all constructive modifiers in the "Options" panel of toolbox in sculpt mode, - Use one column in options panel to make strings easier to read - No modifiers would still be applied on multires
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-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-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.
2010-12-12- fix for rna show_brush variable shadowing its parent classes with a flag ↵Campbell Barton
which is now unused. - getting clipboard RNA variable would crash blender in background mode.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-21- some more rna range corrections Campbell Barton
- correct exception messages for mathutils constructors.
2010-11-21fix for RNA ranges exceeding the range of the type (INT_MAX used on short's ↵Campbell Barton
for eg).
2010-11-05fix for missing NULL check with brush poll, reported by Mike S.Campbell Barton
2010-11-04workaround [#24392] 2d Image paint editor: no clone/smear/soften tools etcCampbell Barton
the brush system matches the brush mode with the object mode, but this doesn't work for 2D image view paint. since the poll() function doesnt have access to the context, for now just check if no paint modes are active, default to texture paint.
2010-08-21rna renaming (manual edits)Campbell Barton
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-19misc rna renaming.Campbell Barton
2010-08-18more rna renaming.Campbell Barton
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
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-04Fix crash accessing particle edit values outside of particle edit mode.Brecht Van Lommel
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-08-03rna pointer poll function, not used yet.Campbell Barton
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-06-18Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers Matt Ebb
with the generic action equivalents (NA_EDITED and new NA_SELECTED)
2010-05-04Great patch by Harley Acheson fixing about 80 typos and spellingDaniel Salazar
mistakes in makesrna
2010-03-24remove unused rna includesCampbell Barton
2010-03-22Fix for child drawing bug reported in the comments of [#21103] Updating bugs ↵Janne Karhu
in Particle Mode
2010-03-22Fix for [#21103] Updating bugs in Particle ModeJanne Karhu
2010-03-09Fix for: [#20937] Add brush doesnt work when disconnected hair option is ↵Janne Karhu
enabled. Really not much to fix, since it's just not supposed to work. Removed the non-working brushes (add and puff) from the brush list while hair is disconnected.
2010-03-08image re-project now uses offscreen render function and has input for render ↵Campbell Barton
size. unrelated changes that ended up being more trouble to commit separate... - removed BLI_split_dirfile(), was nasty, occasionaly modifying the source string, it could create directories and used the $CWD in some cases. was only used in 2 places in filesel.c, if this gives problems can address without bringing back this function. renamed BLI_split_dirfile_basic --> BLI_split_dirfile - view3d_operator_needs_opengl was being called for offscreen render when it wasnt needed.
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-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-14particle weight brush back (mostly the same as in 2.4x), needed to control ↵Campbell Barton
long hairs movement.
2010-01-12particle puff, volume option.Campbell Barton
When combing long hair it will often end up with no volume (flat on the head like its wet). a way to fix this is to use the puff tool however when applied points at the root only this just gives a bit of volume at the roots and the rest of the hair stays flat. This option moves the unselected parts of the hair without applying the puff tool to them, giving volume to the hair whilst preserving the desired style.
2010-01-11- draw mesh wire faded into the 3D view background color when in particle ↵Campbell Barton
mode, the mesh and particle selection colors conflict too much making it hard to see particles. - show proportional editmode button in particle editmode.
2010-01-11remove operators PARTICLE_OT_brush_set and PARTICLE_OT_edit_type_set, rna ↵Campbell Barton
data access and menu's can replace
2010-01-05Particles:Brecht Van Lommel
* Fix crash in mirror tool. * Added X Mirror option back to the UI, flag is now same as the one for edit and paint modes, stored in the mesh.
2009-12-28Change to the way brush/tool selection works, as discussed a while agoMatt Ebb
Now, there are preset brushes made for each tool type (eg. for sculpt mode, Grab, Draw, Inflate, etc), and the recommended method for changing sculpt tools is to change between Brushes. The shortcut keys for changing between tools have now been changed to change between named brushes - the G key in sculpt mode now changes to any brush named 'Grab'. The advantages of this are: * Changing between brushes remembers the strength/size/texture etc settings for each brush. This means that for example, you can draw with a strong textured Clay brush, but then switch quickly to a weaker, untextured Smooth brush, without having to re-do your settings each time. * You can now add your own custom shortcut keys to your own custom brushes - just add a keymap entry similar to the existing ones, that references your own custom brush names. To bring over these new default brushes to an existing B.blend setup, just append them in from the new B.blend in svn.
2009-12-22clone and stencil layer access added, renamed mask to stencil layer internallyCampbell Barton
2009-12-09Sculpt Branch:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r25180:25245
2009-12-08RNA:Brecht Van Lommel
* Property update functions no longer get context, instead they get only Main and Scene. The RNA api was intended to be as context-less as possible, since it doesn't really matter who is changing the property, everything that uses the property should be updated. * There's still one exception case that use it now, screen operations still depend on context too much. It also revealed a few places using context where they shouldn't. * Ideally Scene shouldn't be passed, but much of Blender still depends on it, should be dropped when we try to support multiple scene editing. Change was planned for a while, but need this now to be able to call update without a context pointer.
2009-12-07Sculpt Branch:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24889:25180