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
path: root/source
AgeCommit message (Collapse)Author
2009-12-28remove operators WM_OT_open_recentfile and WM_OT_open_recentfile_splashCampbell Barton
use a python menu instead.
2009-12-28new python module constantsCampbell Barton
* bpy.home - result of BLI_gethome() * bpy.version - BLENDER_VERSION/100, BLENDER_VERSION%100, BLENDER_SUBVERSION * bpy.version_string, as above, formatted: "%d.%02d (sub %d)"
2009-12-28Fix for [#19519] Dope sheet scrollbar goes out of boundsMatt Ebb
2009-12-28Got rid of some dead codeMatt Ebb
2009-12-28Added location and rotation operator properties for adding objects. The ↵Matt Ebb
Align to View boolean is now just used to set the rotation property value during invoke. This removes some reliance on 3d view info for non-interactive use, and also lets you specify new object's locations/rotations explicitly when calling from Python.
2009-12-28Assorted Animation/RNA fixes:Joshua Leung
* Fix for compiler warning in mesh.c from previous commit * Fix for wrong name for dopesheet filter button used for meshes * Added RNA defines for the default values for quaternion and axis-angle rotations, so that clearing these to their default values "does the right thing (TM)"
2009-12-28Fix for [#20032] outliner cuts off long names after pasing themMatt Ebb
The system that ensures unique ID names chopped off the end of the name to add a number suffix (.001 or so) regardless of whether it already had a number or not. In this particular case, (no suffix number) it now just shaves off the last letter of the name until it's unique. I've been testing this patch here for a while, and seems to work properly, if anyone would like to have a quick look over this commit and doublecheck, that would be great too.
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-28Mesh Animation + Depsgraph Tweaks:Joshua Leung
* Mesh data/settings can now be animated. It is not recommended that geometry be animated directly, but other settings such as autosmooth, etc. can be... * Code cleanups for depsgraph, making sure that drivers get included for all object data types.
2009-12-28Try to get soft body to curve workingJens Ole Wund
2009-12-28Curve/Nurbs/Font Animation Bugfixes:Joshua Leung
* NURBS and Font animation data now appear in the animation editors. * Fixed depsgraph tagging code for determining if the AnimData attached to object data blocks (i.e. animation for curve or lamp data) needs to be tagged for updates on frame changes. This means that animating curve settings now works.
2009-12-28- loading missing files didnt give any warningCampbell Barton
- shape key transfer poll function
2009-12-27WIP console text selection, modal selection operator and selection drawing.Campbell Barton
word wrap and clipboard are not working yet.
2009-12-27Partial fix for [#20166] Snap to grid issuesMartin Poirier
Move gridview (the actual drawn grid size, including adaptation to zoom) to RegionView3D from View3D. This solves the transform increment bug but not the Snap Menu bug (context is not set to the correct rv3d when executing operator from menu).
2009-12-27Wrong description in WM_OT_call_menuMartin Poirier
2009-12-27Transfer Shape KeyCampbell Barton
Useful if you have 2 different characters with the same base mesh (matching indicies), and want to copy a facial expression for eg, from one to another. Durian request to re-use shapes between characters. * Copies the active shape to other selected objects * Different methods to apply the shape * * OFFSET, simple translation offset * * RELATIVE (EDGE/FACE), Use Barycentric transformation to copy the shape. This means the target mesh can be a different orientation and scale and the shape should still apply since the surrounding geometry is used as a basis for the offset. bug: barycentric transform's depth was inverted. Note: * This isnt added into a menu yet, * This cant be redone since adding a shape key messes up the redo stack. needs fixing for other scripts too.
2009-12-27DopeSheet + Graph Editor hotkey tweak:Joshua Leung
Made the TAB key toggle the editability of selected channels in the keyframes area in addition to the channels list.
2009-12-27barycentric transform utility geometry function.Campbell Barton
From 2 triangles and 1 point, the relative position between the point and the first triangle is applied to the second triangle to find the target point. the barycentric weights are calculated in 2D space with a signed area so values outside the triangle bounds are supported. wrapped by python: pt_to = Geometry.BarycentricTransform(pt_from, t1a, t1b, t1c, t2a, t1b, t1c) NOTE: - moved some barycentric weight functions out of projection painting into the math lib. - ended up making some of the math functions use const args. TODO: - support exceptional cases. zero area tries and similar.
2009-12-27Bugfix 20469: Graph Editor Keyframes jumping around with NLA stripsJoshua Leung
NLA corrections for Graph Editor transforms was wrong way around, causing jumping issues when trying to transform the keyframes.
2009-12-26fixes for errors/warnings found with cppcheckCampbell Barton
2009-12-26classmethods were excluded from docs, hide self & cls arguments for ↵Campbell Barton
functions and class methods, made some rna ui funcs not display as optional.
2009-12-26* sphinx docgen *Campbell Barton
py_function_args wasnt working right (was using function namespace for function args), use pythons inspect module instead. move the function to get a type description into rna_info
2009-12-26Particles bug fix: Particle birth location between frames weren't calculated ↵Janne Karhu
correctly for moving emitters as the functionality of where_is_object_time has changed a bit in the new anim system.
2009-12-26the user interface could access invalid RNA on deleting objects since ↵Campbell Barton
checking the button ran after freeing the data.
2009-12-26Fix for [#20294] Switching to particle mode after changing number of hair ↵Janne Karhu
particles causes blender to crash. * Particle edit mode wasn't freed when the particle amount was changed.
2009-12-26- closing the user prefs accessed the temp screen after removing it.Campbell Barton
- colorband drawing could use un-initialized vars (probably wouldnt crash)
2009-12-26invalid memory access fixCampbell Barton
2009-12-26Fix for [#20458] Segmentation fault when trying to enable Hair dynamicsJanne Karhu
* The hair mesh vertex index was stored as a short, but vertex counts can easily go higher than what fits in a short so changed this to an int. * Also removed particle life looping, which didn't work correctly anyways. Similar functionality will become available when I get to recoding reactor particles into a better system.
2009-12-26fix for accessing invalid memory when loading a new file.Campbell Barton
2009-12-26Particles bug fix: using virtual parents for child particles crashed in some ↵Janne Karhu
cases.
2009-12-26replace dynamic_menu.py with Menu classmethods much less complicated.Campbell Barton
access append/prepend eg. bpy.types.INFO_MT_file_import.append(lambda self, context: self.layout.operator("import_some.format"))
2009-12-25fix for [#20244] importing .obj without "Object" option checked crashes blenderCampbell Barton
2009-12-25bad rna limit referred to in [#20483] Inputs are cappedCampbell Barton
enable distance for some settings
2009-12-25sphinx rna api documentation generator to replace epydocsCampbell Barton
- view docs menu item opens sphinx URL - can be searched (even when local) - uses rna_info module for introspection - also documents python defined functions and decorator properties (defined in bpy_types.py) - experemental python file:line references for python operators.
2009-12-25update rna_info and rna_rna for better introspectionCampbell Barton
2009-12-25fix for segfault getting RNA Enum default values, minor updates to ↵Campbell Barton
introspection class
2009-12-25operator draw function working again. needed to add layout to the operator ↵Campbell Barton
to give access to "self.layout" - like panels, headers and manu's have
2009-12-24* register operators like other classesCampbell Barton
* operators now return sets (converted into flags) * can't remove bpy_operator_wrap.c since macro's still use the custom register funcs
2009-12-24support for registering operators using the same internal rna api as panels, ↵Campbell Barton
menus, headers & render engines since there was a fair bit of duplicate functionality. will remove the old system and update scripts next.
2009-12-24Reverted the addition of the f-curve sound modifier (was added in revision ↵Joerg Mueller
24759) due to unusability and performance issues. The ability to use a sound as animation source will be added as an import operator later that renders a sound to an f-curve which brings the advantage that you can edit the generated curve later and the disadvantage it is not automatically updated when the sound changes.
2009-12-24minor pyapi changesCampbell Barton
2009-12-24Removed a few operators that were just used to generate popup menus and ↵Matt Ebb
replaced with python defined menus.
2009-12-24pedantic naming: wmKeyMapItem wasnt called 'kmi' in some cases.Campbell Barton
2009-12-24Key map related things:Matt Ebb
* Moved 'change shortcut' (previously directly RMB on menu items) to a context-menu item, and added Remove Shortcut and Add Shortcut. This is all available now in a RMB context menu for operator buttons and menu entries. * Renamed a bunch of key maps to be consistent with UI names, and human-readable. Since these key map names are now being directly used in the UI for people to find things, they should be understandable and in plain language. This renaming may break some older saved key map setups - though previously saved .b25.blends should convert over ok. Exported .py files may need some find/replacing - in this commit check the changes in resources.c to see what's changed.
2009-12-23crash fix for sculpt when loading some filesCampbell Barton
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-23Fix compilation of carbon quicktime & complete use of report mechanism ↵Damien Plisson
instead of standard printf
2009-12-23Bugfix #20463: In graph editor bone channels cannot be selected with 'A' or ↵Joshua Leung
'B' border select This bug was caused by my recent commit to get bone select -> selection syncing working. The selection flushing was occurring too readily, blocking any selection tools from having any visible effect. Now this syncing is only triggered when appropriate notifiers+flags have been set.
2009-12-23BGE: fix more transpose bug when MathUtils is not used.Benoit Bolsee