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
2007-04-12Removed some un-needed code for Limit constraints from file-reading code.Joshua Leung
2007-04-07appending libdata no longer breaks all external references.Campbell Barton
Existing data is flagged with LIB_APPEND_TAG and all_local only has an option to only operate on un-flagged data. If you append an object thats linked to a material alredy linked in your scene, the material will not be made local. So at worst youll need to make local some of the datablocks. This is fairly simple and though my tests show it to work, do some tests on your own libraries before assuming its problem free. scripttemplate_mesh_edit wasnt updated with PyAPI changes and moved some functions into generic places.
2007-04-07== Clamp-To Constraint (was Patch #4818) ==Joshua Leung
This (new) constraint limits the location of an object/bone to the range of locations on a given curve. It works by comparing the location of the owner on one axis, to the extents of the curve's bounding-box on the same axis, to find the location on the curve. Usage Notes: * 'Ob:' field must point to a valid curve object * This curve should have 'Path' turned on in order for this constraint to work. You don't really need to do this as it will be taken care of by the code. * 'Auto' toggle automically determines which axis should be used for the distance estimations/calculations. It is the default option, but may not work that well for some cases. * X/Y/Z toggles can be used to select the axis to use for these calculations. Try to choose the axis along which the curve stretches out for most. Python Notes: Python API access for this constraint is not included in this commit. Will be coming soon.
2007-04-02== Multires ==Nicholas Bishop
Fixed bug #6358, UV face select + Multires level change crashes * Reading in multires files wasn't relinking the MTFace customdata stored for level 1. This was leaving tpage as a bad pointer.
2007-04-01==== bugfix ====Andrea Weikert
small fix for uninitialized variable curlib
2007-03-24Removed some more debug prints (regarding camera angle/lens stuff)Joshua Leung
2007-03-23patch 5341 by JuhoTon Roosendaal
This adds option to show camera angle instead of camera lens value. (Complete revised patch...)
2007-03-21Python APIKen Hughes
---------- Support for new bpy.libraries module, which is being proposed to replace the Blender.Library module.
2007-03-16Python APIKen Hughes
---------- Bugfix #6255: Library.Load() failed on some blend files prior to 2.43. Consolidated some code to make Python and Blender UI more in common. Also fixed some compiler warnings in the process.
2007-03-16Fix numerous gcc warnings.Ken Hughes
2007-02-14Regression test fixes:Ton Roosendaal
- New Softbody panel now is named "Soft Body Collision" (instead of II) Also made it start tabbed, and made Fluids panel start untabbed. - Infowindow: skip drawing buttons when width is smaller than 320 pixels.
2007-02-11Addition to last bugfix:Brecht Van Lommel
Give the correct error message on saving instead of simply defaulting to "not enough diskspace".
2007-02-11Fix for bug #5910:Brecht Van Lommel
Saving in sculpt mode with partial visibility would give "not enough diskspace" errors. That wasn't the error at all though, but blender gives this diskspace error message on any error (this is for another commit to fix though). The cause of the error was that with partial visibility it saved the MEdge and MFace arrays as if they had the full length, which is not the case, so it was reading past the end of the array. I added an exception for these. Also removed the oldstyle tface saving, this was only there to provide temporary upward compatibility until release.
2007-01-28Plumiferos reported bug:Ton Roosendaal
When weights in Meshes are extremely small (< 0.01) normalizing them can give overflows, thanks to float precision limit. This is still unsolved, but for now the limit had to be set smaller... (reason is that Plumiferos uses mixed lattice and vertex-group deform) Also: running Blender in debug (-d) will print subversion now.
2007-01-22== Multires ==Nicholas Bishop
Partial fix for bug #5771, Multires tool deletes crease flags on edges * Modified the edge flags code to support all of the edge flags (not just seams.) * Added a new array to the Multires struct to store creases. * For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.
2007-01-21Addition to fix for bug #5709:Brecht Van Lommel
Needed to move the check one subversion further, because files with the current subversion could already be saved with the wrong value.
2007-01-21Fix for bug #5709:Brecht Van Lommel
Join triangle threshold was initialized for wrong subversion.
2007-01-18Part 2 of bugfix #5741Ton Roosendaal
Modifiers; on read file it sets user counter of linked ID data, except for Object IDs.
2007-01-16A few fixes for saving/loading partial mesh visibility (sculptmode): pay ↵Nicholas Bishop
better attention to how many verts/edges/faces there really are (not just the visibile ones)
2007-01-14Fix for bug #5689:Brecht Van Lommel
Loss of UV coordinates reading from 2.42 .blend files, if there were both vertex colors and tfaces (these contained colors also). It should have been impossible to create them both in 2.42, but even if invalid we should read them correct.
2007-01-13Bugfix #5698Ton Roosendaal
Material Node Shader crash: new "layered UV" option required a better version patch... now patches all 2.42.x files, and not only the 2.42.2 and older :). Yes, subversioning doesn't always make things easier.
2007-01-10== Action/IPO Cleaning Cleanup ==Joshua Leung
Further cleanups, this time moving all the checks for making sure that the cleaning threshold is defined are centralised in the do_versions code.
2007-01-10Large fix for multires. Changed UV coordinates (MTFaces) to be special ↵Nicholas Bishop
first-level data in multires. The data is now stored in a standard CustomData struct in Multires, rather than being stored for each level. (The UVs can now only be edited on level 1.) Changes allow multiple sets of UVs to work correctly. This change should also decrease multires memory usage some (though only when UVs are being used, of course.) Changes to CustomData: Some functions would only return the current active layer, added extra variants that take an index to select the level (modeled after CustomData_get_layer_n.) Still todo: * UVs are being interpolated linearly, should probably offer Catmull-Clark subdivision like Subsurf modifier. * Vertex Colors still don't support multiple customdata layers. * Editing UV data on levels other than 1 should be disabled in the interface (same for weights)
2007-01-09- Added panel for Bake render (tabbed now in 'anim' panel).Ton Roosendaal
(Empty space will get OSA options, that I add tomorrow or so) - Removed a lot of old unused variables in renderdata. Also meant I had to remove this from python API... please check if this gives valid scripts? - Cleaned up bad formatted code for FFMPG buttons (spaces instead of tabs)
2007-01-08New code to write 'sub version' string. It was using a (controlled) 1 byteTon Roosendaal
overflow in a safe area, but that's not very nice code...
2007-01-07Bugfix #5626Ton Roosendaal
HSV node in composite got a new variable (V) in july, but this was not initialized to '1' for older files. This commit adds the initialize, for when the V==0. It might therefore break cases saved with CVS versions with V set to 0 purposedly (not likely but possible).
2007-01-06Potential fix for bug #5359:Brecht Van Lommel
Crash leaving editmode related to vertex groups. I couldn't reproduce this, but suspect somehow multiple deformvert layers were created. Added some extra checks to avoid that now.
2007-01-06Fix for bug #5096:Brecht Van Lommel
Geometry shader node storage (added for UV name) wasn't allocated reading older files, could crash on render.
2007-01-05Multires bugfix: texcolface.tex_page needs to be updated on file load.Nicholas Bishop
2007-01-03Modified the multires loading code so that it always checks for a NULL edge ↵Nicholas Bishop
flag array.
2007-01-03Multires bugfix: when deleting lower levels, edge flags should be subdivided ↵Nicholas Bishop
to the next level.
2007-01-02Another multires loading fix: if edge_flags is null, allocate a new arrayNicholas Bishop
2007-01-02Fix for a multires crash: when loading dverts, extra call needed to relink them.Nicholas Bishop
2007-01-01Added support for load/save of multires edge flagsNicholas Bishop
2006-12-27== Copy Rotation Constraint - Bugfix #5519 ==Joshua Leung
Now, when only one axis toggle is on and click on it, all of the other toggles will not be turned on. For this to work, I've moved the version patches in the drawing/evaluation code for this constraint to the file-reading code.
2006-12-26-> Further work to improve triangle conversion tool:Geoffrey Bantle
The improved triangle to quad conversion is now better integrated into Blender in several respects. First of all the code makes distinctions between 'simple' pairs and 'complex' pairs. Simple pairs are an island of exactly two selected triangles that are joined by an edge. These simple pairs are subject to the old 2.42 rules for joining triangles. Complex pairs are part of larger islands of selected triangles and their conversion is controlled by several parameters that can be individually tweaked via new buttons located in the "Mesh Tools" panel of the editing buttons. Furthermore the tool deals with any arbitrary combination of simple and complex islands in a consistent and logcial way. The code has also been drasitcally cleaned up and should address the open bugs in the tracker regarding alt-j. However as part of cleanup the tool has been made somewhat slower to insure a consistent mesh structure. This is a limitation of the exist_face() function in editmesh and will have to be adressed at a later date.
2006-12-25Sculptmode now works properly with shape keys (Merry Christmas.) Fixes bug ↵Nicholas Bishop
#5499, Sculpt mode don't works correctly with Shape Key.
2006-12-25Cleanup of the SDNA SculptData struct. Moved a lot of data that isn't saved ↵Nicholas Bishop
into a separate SculptSession struct (outside of SDNA.)
2006-12-21Added names to UV and vertex color layers, and display them as a list.Brecht Van Lommel
Added support for multiple UVs in the render engine. This also involved changing the way faces are stored, to allow data to be added optionally per 256 faces, same as the existing system for vertices. A UV layer can be specified in the Map Input panel and the Geometry node by name. Leaving this field blank will default to the active UV layer. Also added sharing of face selection and hiding between UV layers, and at the same time improved syncing with editmode selection and hiding. Still to do: - Multi UV support for fastshade. - Multires and NMesh preservation of multiple UV sets.
2006-12-20The Big Image refactor!Ton Roosendaal
Please read: http://www.blender3d.org/cms/Imaging.834.0.html Or in short: - adding MultiLayer Image support - recoded entire Image API - better integration of movie/sequence Images Was a whole load of work... went down for a week to do this. So, will need a lot of testing! Will be in irc all evening.
2006-12-20Modified sculptmode's vertex_users to use one large chunk of memory rather ↵Nicholas Bishop
than many small pieces.
2006-12-13Multiple UV and vertex color layers: (still work in progress)Brecht Van Lommel
These can be created and deleted in the Mesh panel in the same place as before. There is always one active UV and vertex color layer, that is edited and displayed. Important things to do: - Render engine, material support - Multires and NMesh now lose non active layers Also CustomData changes to support muliple layers of the same type, and changes to layer allocation, updated documentation is here: http://mediawiki.blender.org/index.php/BlenderDev/BlenderArchitecture/CustomData
2006-12-12Argh, bugfix to survive non-existing window types made top bar goTon Roosendaal
away.
2006-12-12Three-fixes-in-one:Ton Roosendaal
#5417: Only Shadow material gave shadow outside of Spot bundle #5414: Material Nodes: sockets without input were always treated as single value inputs, ignoring color or vector. (Caused by commit to do automatic conversions of socket links). #5420: When reading with old Blender a new file that has a new window type, saving it over, and read back in current Blender, the window type should be reset to EMPTY, because all its data got lost.
2006-12-08Numerous fixes in Render code:Ton Roosendaal
- Bug: material emit was ignored (showed in preview render backdrop) - Bug: world exposure was ignored - Bug: lamp halo was ignoring 'render layer light override'. Further reshuffled the way shadows are being pre-calculated, this to enable more advanced (and faster) usage of Material lightgroups. Now shadows are being cached in lamps, using a per-sample counter to check if a recalc is needed. Will also work (later) for Raytracing node shaders. - New: Material LightGroup option "Always", which always shades the lights in the group, independent of visibility layer. (so it allows to move such lights to hidden layer, not influencing anything).
2006-12-07Work on RenderLayer and Pass control:Ton Roosendaal
Full log: http://www.blender3d.org/cms/Render_Passes.829.0.html In short: - Passes now have option to be excluded from "Combined". - RenderLayers allow to override Light (Lamp groups) or Material. - RenderLayers and Passes are in Outliner now, (ab)using Matt's nice 'restriction collumns'. :)
2006-12-05Damn! Commit for render passes in wrong dir....Ton Roosendaal
2006-12-05Resolved a few compiler warnings:Joshua Leung
* Line 2451: unusued variable 'removed' * Line 3513: implicit declaration of function freeN. should be MEM_freeN Hopefully I didn't break anything.
2006-12-04Added saving/loading of multires deformedvert data. Also added a ↵Nicholas Bishop
test_index_face check when reading editmode data for multires.
2006-12-01Two hours of fixing details based on Klocwork source review. Useful report,Ton Roosendaal
although it has a lot of noise. Not to mention our bad string code gives a load of warnings. I've reviewed specifically: - file reading/write - dna and library code - node system - entire render module Done a couple of files in src/ too, seemed to be nice errors.