Revision b9cad87 by Campbell Barton January 27, 2010, 09:36 (GMT) |
missing check for NULL poll for wmPaintCursorDraw which is allowed. would crash when in transform and moving the mouse over another window. |
Revision 107f6cb by Campbell Barton January 27, 2010, 09:16 (GMT) |
- duplicate window crasheing when it was full screen - keymap item was missing NULL check crash - editmode object in inactive layer crash |
January 27, 2010, 05:42 (GMT) |
Fix [#20773] NODE ANIMATION: Animating node values broken Now the compositing node tree will update on frame change if any of the nodes are animated. This doesn't work for playback (i.e. alt a), that's better off waiting until we have some kind of frame caching system. |
January 27, 2010, 02:21 (GMT) |
Missed these files in the last commit .. Also meant to mention, on the todo: show the confirmation before closing the file selector, rather than afterwards where it's inconvenient and easy to miss... |
January 27, 2010, 02:20 (GMT) |
[#20728] "Export UV Layout" overwrites existing files (without feedback) The 'save over' popup was only appearing based on a string comparison of the operator name ("Save"). Changed this to use a hidden operator property: "check_existing". Python operators must have this property for the file selector confirmation too. This property can also be set to false, to prevent checking for existing files, useful in the File->Save menu item to prevent the dangerously missable confirmation popup. |
January 27, 2010, 00:22 (GMT) |
Fixes to Color Balance node: * The Lift/Gamma/Gain formula previously was incorrect, fixed this and removed conversions - now the RNA values are the same as what goes into the formula. * Because of this, added the ability for the Value slider to map to a wider range than 0.0-1.0. The black/white gradient remains the same, in this case just indicating darker/brighter rather than absolute colour values. Also added ability for color wheels to be locked at full brightness (useful for this case, where the color value itself is dark). * Added an alternate formula - offset/power/slope (asc-cdl). This fits the standard Color Decision List formula, here for compatibility with other systems, though default Lift/Gamma/Gain is easier to use and gives nicer results. |
Revision ebafb7e by Campbell Barton January 27, 2010, 00:01 (GMT) |
bugfix [#20823] Attempting to undo renaming a UV set on this scene causes a crash |
Revision 0d69ebe by Elia Sarti January 26, 2010, 23:32 (GMT) |
Fix for 3d view's properties region notifier: 3D cursor position was not updated |
Revision 58fd865 by Benoit Bolsee January 26, 2010, 22:49 (GMT) |
CMake: fix MSVC debug build crash at startup when ffmpeg enabled. A wrong libraries link order was causing this problem for some reason. Since a sorting algorithm for linked libraries was already implemented in Unix, I just enabled it for Windows. Note about CMake 2.6.0: The Link Library Dependencies option (Linker General settings panel) is automatically enabled, which causes the Blender libraries to be linked twice because CMake will also add them in the Additional Dependencies field. CMake 2.8.0 does not have this problem, please upgrade if you are still using CMake 2.6.0. |
Revision c5558e6 by Tamito Kajiyama January 26, 2010, 22:24 (GMT) |
Made an attempt to improve memory consumption during stroke rendering. When objects exists out of the viewing frustrum and near the near clipping plane, feature edges in the 3D camera coordinate system are projected to an extremely far location from the camera view in the 2D image space. These feature edges result in very long strokes with a large number of stroke vertices, which temporarily require a significant memory storage, causing a fatal "out of memory" error. This problem is partially addressed by the changes in the present commit. |
Revision 709b1a9 by Campbell Barton January 26, 2010, 21:41 (GMT) |
support for #'s for output animation paths This was supported... image: /tmp/foo_###_bar --> /tmp/foo_001_bar.png But not this... anim: /tmp/foo_###_bar --> /tmp/foo_001_250_bar.avi |
Revision 586af8c by Martin Poirier January 26, 2010, 20:43 (GMT) |
Properties for macro operator call in python. Dicts are converted to operator properties like this: bpy.ops.armature.extrude_forked(TRANSFORM_OT_translate={"value":(2,0,1)}) Note that this doesn't work quite well if one operator is twice in the same macro, but that's a problem at the RNA level too. I'll have to deal with that eventually. |
Revision b7405ce by Brecht Van Lommel January 26, 2010, 19:06 (GMT) |
Fix for dropping objects in 3d view, need to set property in sub operator in macro. |
Revision b119ce5 by Ton Roosendaal January 26, 2010, 18:18 (GMT) |
Drag and drop 2.5 integration! Finally, slashdot regulars can use 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. |
Revision 722f57c by Brecht Van Lommel January 26, 2010, 17:39 (GMT) |
Fix Blend From Shape having no effect after exiting edit mode. Also added a UI string for mesh selection mode property to show up in undo stack. |
Revision d5ca236 by Martin Poirier January 26, 2010, 17:37 (GMT) |
Typo in error string |
Revision 32fdc12 by Brecht Van Lommel January 26, 2010, 17:14 (GMT) |
Fix #20831: setting shadowbuffersize to 10240 only possible via typing it in. |
Revision 655800b by Martin Poirier January 26, 2010, 17:09 (GMT) |
Typo in function declaration causing warnings. |
Revision 246bcf4 by Campbell Barton January 26, 2010, 17:07 (GMT) |
weight panel editing now supports mirroring - use mirror when the option is enabled in editmode. - fliped group names are used when they exist. - only the setting that is edited will be applied to the mirrored verts group. - copy value is applied to all mirrored verts of the selection. - normalize normalizes all vgroups and mirrors. utility functions defvert_sync and defvert_sync_mapped, similar to defvert_copy but does not remove existing groups and optionally creates groups as needed. defvert_sync_mapped uses a an int array for mapping the flipped values. |
Revision e308fe9 by Brecht Van Lommel January 26, 2010, 17:06 (GMT) |
Fix #20805: L selection in edit mode with bezier doesn't work. |
|