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
2010-02-12correct fsf addressCampbell Barton
2010-02-12Bugfix #21051: Restored 'Playback FPS'Joshua Leung
This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View. The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
2010-02-11Added an option "Cast Approximate" to control if a material should castBrecht Van Lommel
shadow when using approximate AO, separate from "Traceable".
2010-02-08debug print was making it take > 20sec to open blender with some complex files.Campbell Barton
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-02-082.5 Audio:Joerg Mueller
- recode of the whole sequencer audio handling - encode audio flag removed, instead you choose None as audio codec, added None for video codec too - ffmpeg formats/codecs: enabled: theora, ogg, vorbis; added: matroska, flac (not working, who can fix?), mp3, wav - sequencer wave drawing - volume animation (now also working when mixing down to a file!) - made sequencer strip position and length values unanimatable
2010-02-07Partial fix for [#20567] SEQUENCER: Image Preview completely unusableAndrea Weikert
* Zoom and Pan should work now (thanks Aligorith for reviewing) * mostly removed ancient drawing code * Fit preview in Window still has issue, HOME key in preview area should be working though
2010-02-06Fix #20452: motion blur buttons were missing. Motion blur samplesBrecht Van Lommel
are now also decoupled from antialiasing samples. Implemented by Matt, I'm just committing the patch.
2010-02-06Constraints Loading:Joshua Leung
Refactored the constraints reading code to take advantage of the new ID loopers. Now, adding a new constraint type will not require much effort with the file loading code, unless the constraint uses any special direct data which needs to be handled differently.
2010-02-04reading in hair with dynamics wasnt working but mostly crashed when ↵Campbell Barton
duplicating the object. from reading all places dynamic hair is used I think these changes are correct (cloth seems to share pointcache with the psys) but its not obvious. jahka: please check this is ok.
2010-02-02linking in mesh data with animation crashed blender. also fixed some warnings.Campbell Barton
2010-02-02Give border render coordinates a sane default, so enabling border in theBrecht Van Lommel
render properties shows the render border in the 3d view.
2010-02-01Fix part of #19858: texture node outputs don't work separately, the meaningBrecht Van Lommel
of node output indices was changed without a version patch.
2010-01-31- hash characters in the path would confuse the output file name and not add ↵Campbell Barton
numbers to it (when rendering animations). - added an option to BLI_convertstringframe and BLI_convertstringframe_range to add digits if not found. - removed BLI_convertstringframe where its obviously not needed - such as loading movies and sounds.
2010-01-31Bugfixes:Joshua Leung
* Old files imported to 2.5 with curves that got cycles FModifiers added during version patching, would not have their keyframes shown for editing. * #20893: Can't see/show the Properties area in the NLA I don't know why this worked on a few of my test files several months ago, and yet now fails for many files today.
2010-01-29Fix #20327: uv smart project options can't be tweaked.Brecht Van Lommel
Python operators calling C operators would get too many undo pushes, causing redo of the python operator not to work. Now the depth of operator callbacks is counted to detected nested calls, and in that case skip the undo/register here, and only do a single undo/register for the mother operator.
2010-01-29Fix for lack of basic error checking in writing compressed .blend filesBrecht Van Lommel
(which is enabled by default). If there was a problem reading or writing in the compression process, the original .blend file could get lost. Now errors are checked, and writing is done as follows: write .blend@ -> compress .blend@ to .blend@.gz -> rename .blend@.gz to .blend -> remove .blend@ We've had blender crash here, lose the original .blend and leave an empty .blend@. It is not clear to me where this would happen in practice if there is enough disk space and permissions are correct, so the actual crash is likely not fixed by this commit.
2010-01-28Fixed some crashes with undo, when going back to the initial state of the file.Joshua Leung
2010-01-28Ambient Occlusion split up into:Brecht Van Lommel
Ambient occlusion: multiplied with direct lighting by default, add is also still available and more blending methods might be added if they are useful. This is fundamentally a non physical effect. Environment lighting: always added as you would expect (though you can subtract by specifying negative energy). This can be just white or take colors or textures from the world. Indirect lighting: only supported for AAO at the moment (and is still too approximate), and also is always added. A factor is available to specify how much is added, though value 1.0 is correct. Also: * Material ambient value now defaults to 1.0. * Added Environment, Indirect and Emit pass. * "Both" blending method is no longer available. * Attenuation, sampling parameters are still shared, some could be split up, though if they are different this would affect performance.
2010-01-27Fix #20651: 3D Cursor resets after add object operator redo. The 3d cursorBrecht Van Lommel
is not getting an undo push, so also made it preserved now through undo's, this is like e.g. the 3d view position which also stays the same.
2010-01-27Bumped subversion for readfile patch (Anim Editors View2D stuff)Joshua Leung
2010-01-27DopeSheet and NLA Editor Scrollbar/View Bugs:Joshua Leung
Fixed some long-standing bugs with DopeSheet and NLA Editor main views not being properly lined up with their channels, and/or showing an incorrect scrollbar. This fixes #20759, and probably a few other reports about similar issues that might've cropped up. NOTE: - probably a version bump might be needed after this, to avoid problems on durian animation files? - the default .b.blend needs updating again, since the saved config there doesn't get updated (or doesn't here, when using load factory settings)
2010-01-27bugfix [#20823] Attempting to undo renaming a UV set on this scene causes a ↵Campbell Barton
crash
2010-01-26Drag and drop 2.5 integration! Finally, slashdot regulars can useTon Roosendaal
Blender too now! :) ** Drag works as follows: - drag-able items are defined by the standard interface ui toolkit - each button can get this feature, via uiButSetDragXXX(but, ...). There are calls to define drag-able images, ID blocks, RNA paths, file paths, and so on. By default you drag an icon, exceptionally an ImBuf - Drag items are registered centrally in the WM, it allows more drag items simultaneous too, but not implemented ** Drop works as follows: - On mouse release, and if drag items exist in the WM, it converts the mouse event to an EVT_DROP type. This event then gets the full drag info as customdata - drop regions are defined with WM_dropbox_add(), similar to keymaps you can make a "drop map" this way, which become 'drop map handlers' in the queues. - next to that the UI kit handles some common button types (like accepting ID or names) to be catching a drop event too. - Every "drop box" has two callbacks: - poll() = check if the event drag data is relevant for this box - copy() = fill in custom properties in the dropbox to initialize an operator - The dropbox handler then calls its standard Operator with its dropbox properties. ** Currently implemented Drag items: - ID icons in browse buttons - ID icons in context menu of properties region - ID icons in outliner and rna viewer - FileBrowser icons - FileBrowser preview images Drag-able icons are subtly visualized by making them brighter a bit on mouse-over. In case the icon is a button or UI element too (most cases), the drag-able feature will make the item react to mouse-release instead of mouse-press. Drop options: - UI buttons: ID and text buttons (paste name) - View3d: Object ID drop copies object - View3d: Material ID drop assigns to object under cursor - View3d: Image ID drop assigns to object UV texture under cursor - Sequencer: Path drop will add either Image or Movie strip - Image window: Path drop will open image ** Drag and drop Notes: - Dropping into another Blender window (from same application) works too. I've added code that passes on mousemoves and clicks to other windows, without activating them though. This does make using multi-window Blender a bit friendler. - Dropping a file path to an image, is not the same as dropping an Image ID... keep this in mind. Sequencer for example wants paths to be dropped, textures in 3d window wants an Image ID. - Although drop boxes could be defined via Python, I suggest they're part of the UI and editor design (= how we want an editor to work), and not default offered configurable like keymaps. - At the moment only one item can be dragged at a time. This is for several reasons.... For one, Blender doesn't have a well defined uniform way to define "what is selected" (files, outliner items, etc). Secondly there's potential conflicts on what todo when you drop mixed drag sets on spots. All undefined stuff... nice for later. - Example to bypass the above: a collection of images that form a strip, should be represented in filewindow as a single sequence anyway. This then will fit well and gets handled neatly by design. - Another option to check is to allow multiple options per drop... it could show the operator as a sort of menu, allowing arrow or scrollwheel to choose. For time being I'd prefer to try to design a singular drop though, just offer only one drop action per data type on given spots. - What does work already, but a tad slow, is to use a function that detects an object (type) under cursor, so a drag item's option can be further refined (like drop object on object = parent). (disabled) ** More notes - Added saving for Region layouts (like split points for toolbar) - Label buttons now handle mouse over - File list: added full path entry for drop feature. - Filesel bugfix: wm_operator_exec() got called there and fully handled, while WM event code tried same. Added new OPERATOR_HANDLED flag for this. Maybe python needs it too? - Cocoa: added window move event, so multi-win setups work OK (didnt save). - Interface_handlers.c: removed win->active - Severe area copy bug: area handlers were not set to NULL - Filesel bugfix: next/prev folder list was not copied on area copies ** Leftover todos - Cocoa windows seem to hang on cases still... needs check - Cocoa 'draw overlap' swap doesn't work - Cocoa window loses focus permanently on using Spotlight (for these reasons, makefile building has Carbon as default atm) - ListView templates in UI cannot become dragged yet, needs review... it consists of two overlapping UI elements, preventing handling icon clicks. - There's already Ghost library code to handle dropping from OS into Blender window. I've noticed this code is unfinished for Macs, but seems to be complete for Windows. Needs test... currently, an external drop event will print in console when succesfully delivered to Blender's WM.
2010-01-26am learning bad spelling from blender. grrCampbell Barton
2010-01-26rename defgroup functions to be more consistant.Campbell Barton
* no functional changes *
2010-01-26Radians vs Degrees: The Second AttemptJoshua Leung
F-Curves now internally store radians again instead of degrees. - This solves problems with inconsistencies when working with drivers. - No need to version patch old files, potentially screwing them up. As such, removed the version patching for F-Curves. - Is better suited to optionally showing radians throughout the UI instead or degrees. As a result, values are now converted on the fly in the Graph Editor for display and operators that operate on values. I've made the conversion system for this rather general, so that other unit type conversions can also be hooked up with the type conversion backend. Also, made some tweaks to F-Curve RNA wrapping to make it represent the data better. TODO: - Transform code currently still needs to be corrected to work with these changes. Currently moving keyframes for rotation curves will make them change too rapidly vertically when using degrees.
2010-01-26panel for adjusting the active vertex groups weightsCampbell Barton
2010-01-25More fixes for radians-degrees, wasn't converting pose channel constraintsBrecht Van Lommel
properly yet, also did conversion ik min/max limits.
2010-01-25Fix for radians-degrees version patch, more testing should have goneBrecht Van Lommel
into this before committing: * Subversion was not increased, meaning that conversion would be applied even on files saved with the new version. * Drivers were not converted. * FCurve generator modifiers were not converted. This seems to cover all cases we found for Durian, if another conversion is needed for this, be sure to increase the subversion number and do it in a separate if() test, otherwise files will break.
2010-01-25undo would often crash when filter_group was used.Campbell Barton
conversion wasnt included in lib_link_screen_restore
2010-01-25Bleh... second attempt at getting this right!Joshua Leung
2010-01-25Bugfix for Rotation Keyframe version patching:Joshua Leung
Use strstr not strcmp, since RNA paths are not purely property names.
2010-01-25Durian Request/Bugfixes: Graph Editor Zooming doesn't go far enoughJoshua Leung
Pushed limits for Graph Editor view extents to proper limits, and fixed clamping used in View2D code which was preventing height of View2D viewports from getting below 1.0
2010-01-25Radians -> Degrees (in UI)Matt Ebb
Rotations are now stored internally as radians, while exposing degrees in the UI - in the graph editor and UI controls. This is done in two areas: 1) Using the unit system to convert RNA data to display as degrees in the UI controls 2) FCurves now use degrees for rotation, so you can edit in the graph editor what you see in the UI. All rotation data is consistently accessible in DNA and RNA as radians, degrees are only used for the UI controls and graph editor. This commit includes conversions will convert old files (stored data and also fcurve data) to the new units, hopefully everything should go smoothly! Part of this also changes a few properties that were hard-coded as degrees before (such as IK pole angle and brush texture rotation) to also use the same consistent system of radians (dna/rna) and degrees (ui). Thanks to Joshua for hints and review here too.
2010-01-23Animation Editors: DopeSheet filtering option to only include Objects that ↵Joshua Leung
are members of the specified group Between the datablock filtering options and the auto-snapping menu in the headers of Animation Editors, there is a new toggle for enabling this new feature (only when there are groups in the scene). Enabling this, a field to enter/select a group in the scene to filter with, will appear beside it. This feature has been added to make it easier to manage animating multiple character shots in Durian. By assigning the rigs of several bandits to a single group, or Sintel and her staff to another group, or Sintel and the guardians to another group, and so on, it is possible to filter the animation data shown in the editors to a useful subset of the total motion in the scene. This makes it easier to retime or edit the motions of one set of characters and their props without affecting the motions of other no-related objects. The downside is that there is a bit more setup work required upfront, but that's probably a small price to pay for some groupings that may be useful in other ways too later (perhaps for compositing or lighting work).
2010-01-22Fix [#20756] Texture painting on 3D tends to forget textures in the new ↵Matt Ebb
texture menu. Part of this fix (loading files with brushes/textures) will only apply for new files saved after this commit
2010-01-21New Compositor node: Hue ControlMatt Ebb
Was very quick to do, now re-aquainted with node editor. http://mke3.net/blender/devel/2.5/hue_correct_node.jpg Todo: modes for affecting hue and value on the vertical axis as well as just saturation - or if an enterprising coder wants to give it a go, let me know and I can help :)
2010-01-20Bugfix: copying drivers did not set compiled expression to NULL, also tweakBrecht Van Lommel
to set it to NULL on file read instead of write as is done usually.
2010-01-20patch from Bjørnar Hansen (anachron)Campbell Barton
Multiple background images displaying each on a different axis. Changes made from the original patch. - Use an enum rather then multiple booleans. - Reduced the space taken up by the user interface. - Made the image template compact display not show fields & premul options. - Added readfile.c lines so old blendfile images are loaded. - Option to hide BGpic UI (like modifiers & constraints) - Use the index rather then a bgpic from the context for the remove operator. note: could be good to use 1 image for both left+right, for eg, but for this to work as intended we would need to add image flipping depending on the axis so left this commented out for now.
2010-01-19Motion Paths - (Part 3) Operators, Drawing, and FixesJoshua Leung
This commit makes the new-style Motion Paths work for Objects and Bones. Motion Paths can either be added for Objects (Object buttons) or for Selected Bones in PoseMode (Armature Buttons), and/or removed from these panels too. Changes: * Changed the way the baking code worked, since it was better to be able to bake a bunch of objects at once, instead of doing it per object * Fixed a variety of bugs regarding initialising defaults and reading old files * Added operators for Objects (like for bones), and replaced the existing code for bones. * Fixed bug with baking code that was causing it to bake the wrong ranges Todos: * Frame number drawing is currently messed up, since the "cached" text drawing takes into account the object transforms. * The new MotionPath panels currently appear as the first panels in the respective contexts, probably due to the order in which the files are included. This needs some fixing, though not sure what the best way is yet.
2010-01-19Partial fix for issues in [#20564] Color Management/Linear Workflow not ↵Matt Ebb
taken into account in Preview Render anymore?
2010-01-17debug prints are too much on my system it hangs ddd.Campbell Barton
2010-01-11better reporting for lib linking problemsCampbell Barton
note that errors are displayed upside down
2010-01-11report errors with library linking errors.Campbell Barton
uses a hack to set the window for the popup for the menu, which is nasty but artists need to know when their files should not be resaved :(
2010-01-08corect error in last commit.Campbell Barton
2010-01-08Remap Relative paths save option.Campbell Barton
If you have a blend file and want to save in a new directory enabling this will save with the paths corrected relative to the new directory.
2010-01-08Animation Visualisation Cleanups - Part 2:Joshua Leung
* Finished baking code for motion paths, generalising it so that it works for both Objects and Bones. It is based on the old code for baking bones, although I have modified the updating code to use a more 'correct' method of updating dependencies. However, this may turn out to be too slow, and another API method should be added for that... * Moved some of the old version-patching code for animviz settings out of the drawing functions, instead doing this on the version patching proper. * Added RNA support for the new AnimViz types, and included RNA access via their users too. The old settings have still been left in for now, since there are still some things not ready to use yet. ---- * F-Curve's with sample points (i.e. sounds to F-Curves) now perform linear interpolation between sample points instead of using constant interpolation.
2010-01-07group instance still didnt work in some cases, now tag ID flag when linking ↵Campbell Barton
as well as appending so its easy to know if an ID is newly added or not.
2010-01-07last commit didnt work properly, all groups were added. Tested to work with ↵Campbell Barton
existing groups, link & append.