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-12Bugfix #21094: Joshua Leung
Inserting keyframes for properties that don't already have F-Curves shouldn't occur if auto keyframing is set to 'replace' only (i.e. see timeline -> frame -> autokey mode menu for details).
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-09Bugfix #21032: sound strips could not be drag-n-dropped from filebrowser to ↵Joshua Leung
sequencer
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-01Renamed the FILE_OPEN option for the file browser to FILE_OPENFILE to ↵Joshua Leung
cleanup compiler warnings about redefined definitions (mingw)
2010-01-29edits to 26400Campbell Barton
- use the endframe operator property - dont use the startstill setting, gives odd results (start frame isnt the startframe)
2010-01-29Two fixes, errors caused by drag n drop commit:Ton Roosendaal
- Icons for brushes disabled List Box to work (paint buttons) - Mouse-release in secondary Blender windows didn't get registered in window where mouse-press initiated. And fixed annoyance: adding image strip makes it 25 frames long, so you can drag and extend it easily.
2010-01-27[#20728] "Export UV Layout" overwrites existing files (without feedback)Matt Ebb
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.
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-09Color management fixesMatt Ebb
Now it's a bit more robust, tagging images with profiles when they're loaded, which then get interpreted later on by conversion functions. Just Linear RGB and sRGB profiles at the moment, same as before. This commit fixes Martin's problem with EXRs and Multilayer images loading/ saving too dark, and it also makes the sequence editor work correctly with it too. Also fixes: [#19647] gamma correction with color management is reset when resetting Curve [#19454] 2.5: Dither does not work when Color management is enabled
2010-01-05More Driver Fixes:Joshua Leung
* Fixed Driver version-patching code to work correctly again with the new system. * Fix for bug #20484, by adding a new driver variable type ('Transform Channel') which makes it easier to use object/bone transforms as in the past. The main differences with using this (compared with the 'Single Prop' type) are that this allows for 'final' transforms to get used instead (i.e. constraints are also taken into account), and also that this variable type can only be used for transforms (more limited scope -> less flexibility -> point-n-click goodies can follow). Mancandy now loads correctly again. * Added toggle for local vs worldspace transforms when working with Rot/Loc Diff variable types, and also for the newly added Transform Channel * Removed some dead code from sequencer...
2010-01-01armature ghost stepsize was not initialized, Aligorith: can you check this ↵Campbell Barton
is correct? remove other small warnings
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-21removing sequence strip overlap didnt adjust the animation key timeCampbell Barton
single images were not having their animation data transformed correctly made sequence strip opacity 0-1 rather then 0-100 in RNA
2009-12-20Add missing names to SpaceTypesMartin Poirier
2009-12-18- sequence strips without scenes would crash on displayCampbell Barton
- appending scenes would not append the sound and scene ID's for sequence strips - reload button in sequence header now reloads sounds as well. - redrawing the sequence image view didnt work while plaing (unless play was activated from that region) - generic functions for running a callback on sequence strips recursively. seqbase_recursive_apply() and seq_recursive_apply() - bind marker with camera was set to home key, use Ctrl+B instead.
2009-12-18sequencer copy clipboard wasnt checking if all related strips were selectedCampbell Barton
2009-12-17- sequencer clipboard now stored globally (not in the scene, makes pasting ↵Campbell Barton
into other scenes nicer) - multiple pastes after copying - clear the sound handle when copying (was crashing) - allow seq freeing without a scene (assumes seq strip isnt active and sound handle isnt set) - free clipboard sequences on exit - paste sequence strips using the relative playhead location from when they were copied. TODO - check scene pointers on paste - detect overlaps after paste
2009-12-17sequencer clipboardCampbell Barton
note: for inter-scene copying this uses a hack because Colin needs it because half his scene was scrambled by blender.
2009-12-17sequencer fcurve anim filtering: sequence strips fcurves in meta's were ↵Campbell Barton
showing up in the main view. mossing notifier for border select.
2009-12-17remove warnings. Sequencer selection for fcurve view didnt work in metastrips.Campbell Barton
- added RNA_property_string_set to the RNA_access.h - include BKE_animsys.h in pipeline.c for sequencer update, hope these are ok.
2009-12-15* rna attributes for sequence strips - seq.start_frame_final & ↵Campbell Barton
seq.end_frame_final these expose the final start and end after offsets are applied. when set this is like grabbing the handle and moving it. * made swapping strips shuffle effects and check for overlap.
2009-12-15animation system wasnt being updated when rendering with the sequencerCampbell Barton
2009-12-15* made seqence swap into 1 operator with left/right enum optionCampbell Barton
* allow sequence swapping even when the strip has an effect * only recalc the effect when its needed
2009-12-15Sequencer drawing cleanup (Part 1)Andrea Weikert
Separated preview drawing into own ARegion, this should make using View2D possible The Sequencer now has three view types: Sequencer, Preview and split Sequencer/Preview. Changing the preview can be done either by the combobox in the header or toggling through those types with CTRL+TAB. Notes: * Icon for split Sequencer/Preview view missing still. * Naming items in the comboboxes can be improved (just Preview instead of Image Preview?) Next steps: * bringing back View2D handling (zoom/pan) for image preview * experimenting with splitting the Preview ARegion for In/Out editing
2009-12-14patch [#20342] Notifier patch for modifier rename and particle system renameMatt Ebb
by 'ThatHaze'. thanks!
2009-12-13more sequence -> sequencer rename, also made sequencer swap strip update ↵Campbell Barton
effects strips
2009-12-13* renamed BKE_sequence.h and sequence.c --> sequencerCampbell Barton
* renamed util.c --> path_util.c since there are more then 1 of these files which makes setting breakpoints annoying.
2009-12-13Sequencer unique names for duplicates & metas and name new strips when the ↵Campbell Barton
operator doesnt set them.
2009-12-10rename operators TFM_OT_* --> TRANSFORM_OT_*Campbell Barton
2009-12-10Notifier related fixes:Matt Ebb
[#20319] 3D View - need 3D cursor notifier [#20321] Views not receiving the NC_ID notifier
2009-12-08Sequencer:Brecht Van Lommel
* Sound strips now respect metastrips for muting. That means they are muted if the metastrip is muted, and don't play when located outside of the current metastrip. * Operators now use notifiers instead of redraw tagging, added a separate notifier for selection as well, but that is not used to do less redraws yet.
2009-11-29== Sequencer ==Peter Schlaile
Brought back default effect fading: (adding a wipe effect makes it wipe by default for the length of the strip) First round in upgrading IPOs from older versions. (works for non-IPO case now and sets at least the new "default effect fade"-flag) Still non-working for old IPOs, since Sequence-Strips aren't real IDs! And: non-frame-lock case should stretch the FCurve to the right length!
2009-11-27Added RMB-menu to Headers:Joshua Leung
This contains two entries - one which calls the region flip operator, and one which calls the maxmize area operator. Unfortunately, there seem to be some context issues which are causing the wrong region to get activated for use by the region flipping, meaning that nothing happens. Also, fixed own typo in 3d-view header/menu code...
2009-11-26Sequencer Drawing Code - Refactoring Part 1:Joshua Leung
- Started cleaning up the sequencer drawing code by firstly decoupling the different draw modes from each other (i.e. timeline view doesn't call image view). - Also separated out a few distinct few phases in sequencer-timeline drawing into different functions instead of being lumped in the single one. Recoded part of this to make it less ugly too... - Made markers get drawn again in the sequencer timeline view
2009-11-22== Sequencer ==Peter Schlaile
seqUniqueName() call was missing for effect strips.
2009-11-19Sequencer UI: Sequencer now uses the standard timeline cursor instead of a ↵Joshua Leung
hacky custom one that used a hardcoded colour
2009-11-18ID properties that are displayed via RNA can now define their own UI settings,Campbell Barton
only implimented min/max precision & step. at the moment there is no way to edit these other then via python example of setting UI limits... >>> C.object['foo'] = 0.5 >>> C.object['_RNA_UI'] = {'foo': {'step': 0.5, 'soft_max': 10.0, 'soft_min': 0.0, 'precision': 2, 'description': 'Some setting'}} Also fixed typo's: precission -> precision
2009-11-17new function WM_keymap_add_menu(), similar to WM_keymap_add_item() except it ↵Campbell Barton
takes a registered menu. the key will then trigger this menu.
2009-11-17Assorted bugfixes - Sequencer/Preview Range:Joshua Leung
* Snapping strips now works with the hotkey Shift-S as in the rest of Blender * Preview Range works in Sequencer now (the operators for setting, clearing, and also drawing) * Related to the Preview Range for Sequencer, toggling the time-display mode also works * Preview Range Set operator now works again, after the modal keymaps change for borderselect broke it. Also sends correct notifiers now after bein called.
2009-11-16un-initialized variable, fix for own recent commitCampbell Barton
2009-11-14sequencer select linked time option, (Selectmouse /w Ctrl & Ctrl+Shift), ↵Campbell Barton
selects all strips that have the same start/end as the active strip or.. if your selecting a handle select all strips and handles on the same time
2009-11-14Make it possible to put audio strips into meta strips in the sequencer.Joerg Mueller
2009-11-14sequencer support for loading multiple movie and sounds at once.Campbell Barton
- more api like functions for adding movie, sound & images (easier to use from pyrna api) - operators share more settings - renamed get_last_seq() to active_seq_get() - same for set.
2009-11-14- sequencer speed effect back using fcurves, still needs manual reloading to ↵Campbell Barton
refresh. - added a function id_data_find_fcurve() to get the fcurve without RNA vars. Aligorith: this could be made to use a path rather then a property name.
2009-11-12Use ACTIONMOUSE instead of hardcoded LEFTMOUSE for sequencer's frame scrubbingElia Sarti
2009-11-11* Fixing various compiler warnings under scons+mingw. Mostly unused ↵Joshua Leung
variables and functions. * Added missing lib-linking code for Grease Pencil in nodetrees * Uncommented some code for curve shapekeys
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python