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-05-25fix [#27479] Missing 'Select vertex groups under the cursor' in weight paint ↵Campbell Barton
mode really todo :) but still needs to be done. Split this into 2 operators, works like 2.4x - Ctrl+LMB samples weight. - Shift+LMB selects vertex groups.
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-02Use enum menu for angle source in sculpt mode -- rake toggling wasn'tSergey Sharybin
working due to it's 3 possible sources.
2011-05-01Fix #27239: "A" menu in Sculptmode failsSergey Sharybin
Simple incorrect property accessing fix (enum_items vs. items). Additional change: removed hotkey to toggle airbrush in sculpt mode TODO: incorrect hotkeys are shown in stroke method menu, but it's how hotkey string detecting works now.
2011-04-01Add back sculpt mode brush keys.Campbell Barton
Operator for switching brushes based on type, cycling through brushes when multiple exist. This has the advantages over the old method that it doenst rely on hard coded brush names and if there are multiple brushes of the same type it cycles between them. also fix error in previous commit which broke number buttons changing brushes.
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-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-24face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swapCampbell Barton
also added hide-unselected option to armature mode.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-15- Do not use old anchor toggling operator. It used to set brush flags toSergey Sharybin
unawaliable state. - Also changed dynamic space bar menu, so it now also wouldn't allow to set brush stroke flags to unavaliable state. Also tried to remove use_anchor, use_space, use_restore_mesh and use_airbrush, so user would be unable to set flags to unavaliable state, but it was quite difficult for non-sculpt paint modes. They don't support all of stroke methods, so brush.stroke_method can't be used for them. Keep this area unchanged for now.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-01-08Paint/Sculpt:Nicholas Bishop
More minor cleanups: fixed names and factored out a function that was copy-pasted into paint stroke.
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-11-10Fix #24632: Sculpt Mode Context Set hotkeys (1..0, Shift+1..0) don't workSergey Sharybin
- Totally get rid of old active_brush_index stuff - Use operator to set n-th brush as active in specified paint mode thans to Cambo for it's optimization :)
2010-10-20== Paint ==Nicholas Bishop
Fixed bug #24239, "Fkey doesn't work in image paint unless also in 3D texture paint" * Fixed brush cursor not showing when painting in the image editor without 3d texture painting enabled * Fixed fkey not working when not in 3d texture paint Note: This does not handle showing the brush cursor when reloading a file saved with image painting on but 3d texture painting off. The method used for object paint modes doesn't apply quite the same here, so I left that alone for now.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell 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-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-27== Sculpt ==Nicholas Bishop
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings * New brush.reset operator, resets a brush based on the currently-selected tool * Added UI button in the tools panel TODO: * Only resets sculpt brushes right now, other paint modes should be added * Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
2010-07-23minor warning fixCampbell Barton
brush_alpha was being converted to an int not a float, if this is intentional it should be delared 'const int', but looks like it wasnt.
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-21Unified size only works for sculpt, so only modify it in sculpt mode.Brecht Van Lommel
2010-07-21sorry this hadn't been committed eearlier allows shift+number so now up to ↵Tom Musgrove
20 brushes can be selected via the numeric selection instead of just the first ten, also CKEY is clay, SHIFT CKEY is crease, and IKEY is inflate - not sure when the IKEY for inflate got dropped previously
2010-07-21* added keymap C for crease brushJason Wilkins
* fixed key mappings for Pinch and Flatten
2010-07-21* In previous commit, the draw brush for sculpting got separated out to a ↵Jason Wilkins
new brush called 'SculptDraw'. Updated the keymap 'D' to switch to this new brush.
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-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-09improve brush size keys so they dont change by 20 each time (bad for small ↵Campbell Barton
brushes), added wm.context_scale_int() operator.
2010-03-06re-project: operators for projecting from a view screenshot rather then a ↵Campbell Barton
camera. - new mode for projecting an image with the view matrix saved in the image id-properties rather then using the camera matrix. - operator to screenshot the view and create a new image with the view matrix stored in the image. these will be used for better re-project integration and are not immediately very useful.
2010-03-05reproject operator, use to reproject edited renders back into textures.Campbell Barton
- uses project paint options (UV bleed, normals, culling) - bicubic interolation from the image - multithraded TODO. project into multiple objects at once.
2010-02-12correct fsf addressCampbell Barton
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-26Assign automatic/envelope weights in weight paint mode is back,Brecht Van Lommel
accessible from W key and in new Weights menu in the header.
2010-01-14Mkey toggles mask while in vertex/texture/weight paint mode.Campbell Barton
remove unused operator property
2010-01-04* Added new hotkeys [ and ] to decrease/increase brush size by 20 in all ↵Matt Ebb
paint modes. The actual value to increment/decrement by can be customised in key maps.
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-23fix for a crash when running blender in debug mode (-d arg), was registering ↵Campbell Barton
every operator in debug mode. added some more sculpt key shortcuts * R toggles rake * Shift+A toggles airbrush note: last commit added Ctrl+0 to set zero subsurf and multires
2009-12-23key shortcits for sculpt backCampbell Barton
- T was 'Flatten Brush', now Shift+T - added an option to OBJECT_OT_subdivision_set to set the level relatively (so page up/down works), however RNA lets it set one level higher then the maximum, this seems displays OK in the 3D view so not sure whats going on here (as if there is always an extra hidden multires level).
2009-12-18Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff)Martin Poirier
2009-12-07Sculpt Branch:Brecht Van Lommel
Subdivision set with Ctrl+1-5 now works for multires as well.
2009-11-301. Extend option for 3d view border select now does something (default True ↵Martin Poirier
to keep same behavior) 2. Add action parameter to Select_All_Toggle operators, rename to Select_All. Options are Toggle (default), Select, Deselect, Invert (same as select swap). This makes it possible to map separate hotkeys for select all and deselect all. NOTE for Aligorith: I didn't change animation operators for select_all which already had an Invert operator. These should be fixed eventually.
2009-11-17use number keys to set the current brush in paint modesCampbell Barton
2009-10-22face mask modeCampbell Barton
- border select - linked selection (Ctrl+L) - select all
2009-10-22added back face mask mouse selection and made shift+k fill weight paint and ↵Campbell Barton
vertex color
2009-10-08Key ConfigurationBrecht Van Lommel
Keymaps are now saveable and configurable from the user preferences, note that editing one item in a keymap means the whole keymap is now defined by the user and will not be updated by Blender, an option for syncing might be added later. The outliner interface is still there, but I will probably remove it. There's actually 3 levels now: * Default builtin key configuration. * Key configuration loaded from .py file, for configs like Blender 2.4x or other 3D applications. * Keymaps edited by the user and saved in .B.blend. These can be saved to .py files as well to make creating distributable configurations easier. Also, user preferences sections were reorganized a bit, now there is: Interface, Editing, Input, Files and System. Implementation notes: * wmKeyConfig was added which represents a key configuration containing keymaps. * wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap. * Modal maps are not wrapped yet. * User preferences DNA file reading did not support newdataadr() yet, added this now for reading keymaps. * Key configuration related settings are now RNA wrapped. * is_property_set and is_property_hidden python methods were added.