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-02-11minor python register changes.Campbell Barton
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used. - move bpy.types.register() to bpy.utils.register_class
2011-02-11BGE: frame start/end in action/fcurves/shapekey to support floatsDalai Felinto
after discussion over the mailing-list it seems that it really makes no sense to restrict that. Specially since we have the "Property" playback mode that usually will be a float. Since there is no need for do_version or whatoever I don't see a problem. Any Thoughts? Maube to allow it only through the Python API?
2011-02-11patch [#25809] Auto-Registration as utility function.Campbell Barton
This removes auto-registration, committed by Martin r30961. Realize this is a contentious topic but Brecht and myself both would rather opt-in registration. TODO: - addons need updating. - class list will be modified to use weakrefs (should have been done for existing system too). - will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these.
2011-02-10Different method for blur node aspect correction. Now the user can still set ↵Lukas Toenne
different sizes for x/y blurring in relative mode, but choose to use aspect correction on either of the axes.
2011-02-10More options for the blur node filter size. This can now be pixel based or ↵Lukas Toenne
relative to both axes or just either width or height.
2011-02-10Bugfix #26013Ton Roosendaal
Good discovery this one. It appeared that "pose mode" changes were not registered in our undo system. That way the first operator you try to redo after exit posemode fails.
2011-02-10Bugfix #26001Ton Roosendaal
Adding a byte rect to float ImBuf was always freeing the mipmap levels. Removed this convention since it crashes renders + image texture draw. Proper ownership handling of ImBuf is high on the wish list :)
2011-02-10fix for crash with GLSL material when image couldn't be loaded.Campbell Barton
also quiet pep8 warnings.
2011-02-10mesh validation remove duplicate faces didn't always work, now it _should_ ↵Campbell Barton
all work correctly.
2011-02-10mesh validation: bugfix for removing doubles, another fix coming...Campbell Barton
2011-02-10Bugfix [#26004] compositor: backdrop zoom factor too smallJoshua Leung
The backdrop zoom factor for new node-editor instances was not set (i.e. was default initialised to 0). Now, this gets set to 1.0. Also, set the property default in RNA to match this.
2011-02-10Bugfix [#26002] Outliner Visible layers + Single object & data = brokeJoshua Leung
conections It seems that some of the Outliner hacks used while building the tree was causing problems, as Make Single User (and potentially other code working with ID-data, specifically with the "newid" value there) was making use of the variable used there for other purposes, leading to memory corruption. This bug also occurred in 2.4x, though when I tested there, it crashed immediately. Ton, you may want to double-check this bug!
2011-02-10Small consistency fixupsJoshua Leung
2011-02-10mesh.validate() now returns True if any corrections were made.Campbell Barton
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes. found 2 bugs in mesh validation. - face sorting array wasn't assigned correct indices. - removing invalid edges used wrong comparison.
2011-02-10script to build debian packages directly from svn, using blender version and ↵Campbell Barton
svn rev for package name.
2011-02-10debian package spec [#26007] Debian specCampbell Barton
by Dan Eicher (dna)
2011-02-10Bugfix [#25831] Sorting channels brokenJoshua Leung
Recoded animation channel sorting code. In particular, the old code didn't handle "islands" of selected items well (i.e. a chain of several connected items in a row), with some of these cases having unpredictable results. There were also some bugs in the way some of the rearranging methods worked, allowing some invalid operations to be performed. Some of these probably triggered errors such as some channels getting stuck, and so on.
2011-02-10fix [#26003] Twice applied modifier with Convert to mesh with several ↵Campbell Barton
multi-user objects convert_exec could do with a re-write, getting quite confusing. update md5's for ctest results and some renaming in mesh_validate code.
2011-02-10small fix so older files are loaded with merge on in the mirror modifiersMichael Fox
2011-02-10Set default for merge mirror to ONDaniel Salazar
2011-02-10small feature request from zanqdo, merging in the mirror modifier is now ↵Michael Fox
optional, simply turning town the merge limit just simply do anything, and merging is off by default as this seems more logical behaviour
2011-02-09Update mesh normals when undoing sculpt stroke to prevent shadingSergey Sharybin
artifacts in some cases (enter edit mode/disabling modifiers after undo)
2011-02-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-09BKE_mesh_validate() now corrects invalid meshes (optionally), added access ↵Campbell Barton
for python so it can correct for bad imported geometry - mesh.validate().
2011-02-09Restoring the old behavior of switching texture context based on active tab:Janne Karhu
* Once again switching to texture panel from material, world or lamp data tab sets the texture context automatically to the "parent context".
2011-02-09use static functions rather then defines for internal ↵Campbell Barton
matrix__apply_to_copy() and similar. + other minor internal changes.
2011-02-09fix [#25968] Crash on changing merge distance in array modifier with ↵Campbell Barton
edgesplit modifier in chain
2011-02-09bugfix [#25523] Face extrude will crash Blender if array and subsurf ↵Campbell Barton
modifier are added to mesh object test_index_face() failed to fix indices like (6,0,0,6), making it (0,6,6,0).
2011-02-09SVN maintenance.Guillermo S. Romero
2011-02-09move validation into blender kernel so it can be called by internal modifier ↵Campbell Barton
funcs more easily.
2011-02-09patch [#25972] blender-thumbnailer.py: GVFS supportCampbell Barton
from Shinsuke Irie (irie) with some minor edits. Shinsuke's description from the tracker: --- I have implemented GVFS framework support of blender-thumbnailer.py which allows some file managers like Nautilus and Thunar to show thumbnails in trash or network directories. If Python's gio module is available, the thumbnailer uses it to access to filesystems mounted via GVFS. This change shouldn't affect desktop environments other than GNOME and XFCE. A function gvfs_open() in this patch is defined to solve a stupid incompatibility between Python file object and GIO Seekable object. On Ubuntu 10.10, I confirmed thumbnails can be generated for file://, trash://, sftp://, and smb://.
2011-02-09Graph Editor: Added option to turn off AA drawing for performanceJoshua Leung
gains when using really heavy files
2011-02-09mesh validation function to report errors and help debug bad data generated ↵Campbell Barton
by modifiers. detects... - invalid vertex range for edges/faces - duplicate indices in edge/face - duplicate edges/faces in mesh - missing edges data in faces At the moment it doesn't correct errors, but eventually it will do this.
2011-02-09Fix for rendering procedual bump maps, mapped in world space, since the new ↵Michael Fox
bump map kernel uses direction, this bug became a real issue, with bumps suddenly changing direction Fix provided due to a long session on IRC with Morten S. Mikkelsen (sparky_)
2011-02-09Old animation conversion code cleanups:Joshua Leung
- Tidying up some inconsistent formatting - Names of old IPO blocks are now included in the names used for new actions. These are included after a "CDA:" prefix, (i.e. "_C_onverted _D_ata _A_ction:"), which makes it easier to browse through these actions later.
2011-02-09Bugfix [#25987] Duplicated markers naming issueJoshua Leung
One-liner fix - a missing "OPERATOR_FINISHED" on the select operator was causing problems renaming markers and potentially with other operations too! To find this bug, I added debug method to dump the list of markers to console. This has revealed some troublesome things about the way markers are organised, which IMO need to be addressed.
2011-02-09Bugfix: When removing the "only insert for active keyingset" optionJoshua Leung
for Auto-keying from the UserPrefs, I forgot to remove the option from the UI there.
2011-02-09Bugfix [#25990] backward compatibility with ShapeKey Actions :: 2.49Joshua Leung
-> 2.50 Actionified ShapeKey IPO-blocks (i.e. "Shape Key Actions") would have an action channel with the hardcoded name, "Shape", and this action would be assigned to Object level (although ShapeKey blocks had their own IPO-block slot, only Objects could have actions, so actionifying ShapeKey IPO-blocks would wrap a ShapeKey block's IPO's to an Object- level action). Hence, the path conversions code would wrongly interpret this action channel as referring to a Pose Channel instead, thus creating some invalid paths with a 'pose.bones["Shape"]' prefix wrongly getting tacked on. To ensure that the converted animation can work out of the box, a 'data.shape_keys' prefix is now used instead so that these actions can still be Object-rooted while still being able to correctly control the Shape Keys. This is because there's no easy way to identify and then shift such action from Object-level to ShapeKey- level within the conversion code. The consequence though is that such converted ShapeKey actions CAN ONLY BE USED THROUGH OBJECT LEVEL (i.e. via Action NOT ShapeKey editor). Secondly, the Action/ShapeKey editor version patching code has been modified so that if a ShapeKey editor view was active when loading an old 2.4x file, the action gets cleared from the view. This is because of this didn't make semantic sense: the ShapeKey editor is for ShapeKey-rooted actions, while the Action Editor is for Object-rooted actions. The converted files though let Object-level actions be shown in either one.
2011-02-09ignore __pycache__ dir for scons and cmake installation (py3.2 caches ↵Campbell Barton
modules here).
2011-02-09use update() rather then update_tag(), needed for making edge data.Campbell Barton
2011-02-08jahka IRC fixM.G. Kishalmi
pinning the texture properties gave python errors.
2011-02-08bugfix [#25969] GLSL missing an update on texture slot changeM.G. Kishalmi
what did I learn from this? "if at first you don't succeed.. you're not kaito." ;)
2011-02-08Texture context selector for texture panel:Janne Karhu
* Texture context was previously determined by going to the appropriate panel, for example "world panel -> texture panel" to access world textures. Additionally there was a separate button to access brush textures. * Now the texture context can be selected directly through an expanded icon menu, which shows the available context options. * This context selector is now at the top of the texture panel, but this could later be perhaps integrated to the context path somehow to be more intuitive.
2011-02-08Bugfix #25957Ton Roosendaal
RMB click in InfoWindow "console log" was missing call to set subwindow, needed because it uses opengl picking to find active lines. Result was that entire UI was glCleared, for some buffer swap methods.
2011-02-08fix: latest shader wasn't working on itel gfx-cardsM.G. Kishalmi
couldn't use a = ( float_function() < 0 )? b: c; for whatever reason.
2011-02-08Per-type node labels and customizable names. The label displayed in the node ↵Lukas Toenne
header is now by default the node type string. A custom label callback can be implemented to display more detailed information. This is currently used by group nodes, which display their internal tree name, and math, vector math, mix and filter nodes, which use their internal operation sub-type. Also the node tree selection/naming box for groups is now displayed only on open groups, to make it clearer that this is the internal type of the group and get a cleaner main tree.
2011-02-08fix own recent error [#25977] Torus disappears when adding "Subdivision Surface"Campbell Barton
ID's and meshes both have update functions, call the meshes rather then update_tag() for recalculating edges.
2011-02-08add back options for loading a renderlayer to offset the image when copying ↵Campbell Barton
the buffer to a smaller renderlayer. This was reverted by Brecht r22541 because its inefficient but there is no way to work around this with povray at the moment so adding it back as optional args.
2011-02-08Text Editor Bugfixes:Joshua Leung
The poll() callbacks used in the Text Editor for scrolling and text- block unlinking operators were too restrictive when the text block was lib-data. - Scrolling lib-linked texts is useful for just checking out parts of the linked-in file that aren't visible on screen already. For example, checking the specific rig that some UI panels script will work on, or reading a "README.txt" linked in with notes on which layers various controls are on. It should be fine that this temporarily modifies the linked text-block (but for view-settings which will can be reset later/on file load without any real consequences). - Unlink operator should be able to be run, otherwise it would be very difficult to remove linked files from a file (?)
2011-02-08Group node type info is now also initialized with helper functions.Lukas Toenne