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
2009-01-242.5Ton Roosendaal
- Brought back code for particle edit and fluidsim - Sanitized code from globals and bad level calls, so its ready to come back working. - Fixed cirle selecting (Ckey now) - Enabled undo for editmode curve, armature, particle and lattice (another commit following)
2009-01-24Animato - Shapekeys work againJoshua Leung
The RNA-wrapping for the 'value' (internally kb->curval) was set to be not editable, thus preventing Animato from writing to it. Removing the flag makes shapekeys more functional again (there are still a few non-functional cases).
2009-01-24Animato - Insert Keyframe for PoseChannelsJoshua Leung
Added temporary entries to the quick-hack insert-keyframe operator menu. Action Editor doesn't get refreshed properly yet though. Proper keyingsets will be coming/remimplemented tomorrow or later this week.
2009-01-242.5 - Pose-Channel (i.e. PoseMode bone) Transforms work againJoshua Leung
In the brief tests I did on a few rigs, this seems to work ok. Martin may want to check on the code for any cleanups that may be needed here. Coming soon will be some modifications to the primative insert-key operator added earlier, so that Animato can be used to animate characters!
2009-01-24my last commit broke transforming metastrips, use find_id for scene lookup.Campbell Barton
2009-01-24Animato - FCurve Modifier BugfixesJoshua Leung
* FModifier data is now allocated correctly, solving crashes on loading files containing IPO-curves with cyclic extrapolation * Fixed memory leaks with FModifiers and their data not being freed correctly. Not sure exactly why the old code didn't work for this.
2009-01-24Added back a line removed in r18642 so the macro CFRA can access scene.Nicholas Bishop
2009-01-24added back extend (Ekey) to sequener transform, works with nested metastrips ↵Campbell Barton
too.
2009-01-24* operators for toggling, making, separating metastrip's. (tab, m, alt+m)Campbell Barton
* transform support for metastrips * active strip is set to NULL if its freed again.
2009-01-24Animato - More compatability workJoshua Leung
* Absolute shapekeys work again. For now, the 'speed' curve isn't converted yet (same goes for 'Curves'). Those were kindof hacky, since they manipulated time in weird ways. Probably the clamping to 0.0-1.0 range can go though. * Materials, Textures, Cameras, and local-constraint IPO's are now converted properly to the new system
2009-01-232.5: multiple small fixesBrecht Van Lommel
- wm draw method is now initialized correct when reading older files, but the SDNA bug causing the problem is still unsolved. is due to // char pad[8]; not being recognized as commented. - triple buffer proxy texture test follows spec better now, was disabling triple buffer unnecessarily on some drivers. - some cmake compile fixes related to sequencer pthread usage and removed bad level calls lib for player. - show outliner header buttons in oops mode as well until that can be switched in the UI. - fix region data free issue for tooltips - warning fixes
2009-01-232.5Ton Roosendaal
File reading of 2.50 files fixed. - it now exits nicely from queues without using free'd memory (checks CTX_wm_window(C) to be NULL) - code that matched current (ghost) window with new situation lacked setting a pointer good. Overall cleaned some parts too; like context clears now all wm related pointers when you set a new wm, window or area.
2009-01-232.5Ton Roosendaal
Font object + editing back. Was quite some work due to a myriad of globals all over! Works nicely 100% local now. To enable a single textedit operator, I've added a new keymap entry KM_TEXTEDIT, which gives all keyboard events to the handler. Also had to add a new keymap-add function to force a keymap handler in beginning of region handlers. In future this can be used to prioritize handlers. Also: split off the arrow keys (frame change) to a separate region level handler. Can be set with default flag in regiontype->keymapflag ED_KEYMAP_FRAMES
2009-01-23fix for eternal loop that could happen when resizing the view.Campbell Barton
2009-01-23 2.5Michael Fox
***** small commit, just added a couple missing notifiers to the timline buttons
2009-01-232.5: WM CompositingBrecht Van Lommel
* Triple Buffer is now more complete: - Proper handling of window resize, duplicate, etc. - It now uses 3x3 textures (or less) if the power of two sizes do not match well. That still has a worst case wast of 23.4%, but better than 300%. - It can also use the ARB/NV/EXT_texture_rectangle extension now, which may be supported on hardware that does not support ARB_texture_non_power_of_two. - Gesture, menu and brushe redraws now require no redraws at all from the area regions. So even on a high poly scene just moving the paint cursor or opening a menu should be fast. * Testing can be done by setting the "Window Draw Method" in the User Preferences in the outliner. "Overlap" is still default, since "Triple Buffer" has not been tested on computers other than mine, would like to avoid crashing Blender on startup in case there is a common bug, but it's ready for testing now. - For reference "Full" draws the full window each time. - "Triple Buffer" should work for both swap copy and swap exchange systems, the latter still need the -E command line option for "Overlap". - Resizing and going fullscreen still gives flicker here but no more than "Full" drawing. * Partial Redraw was added. ED_region_tag_redraw_partial takes a rect in window coordinates to define a subarea of the region. On region draw it will then set glScissor to a smaller area, and ar->drawrct will always be set to either the partial or full window rect. The latter can then be used for clipping in the 3D view or clipping interface drawing. Neither is implemented yet.
2009-01-23Animato: Added conversions for Camera data and Texture IPO'sJoshua Leung
Most of the settings have been converted, however, there are a few which are not easy to convert. * For textures: - tex->noisedepth - undefined in RNA? - tex->noisetype - undefined in RNA? - tex->stype - undefined in RNA? - tex->noise_basis2 - is noted in RNA as undefined... * For Cameras: - "CAM_LENS" define was used for either 'ortho_scale', or 'lens' depending on camera type. This is currently difficult to ascertain using current code... I'll revisit this later - cam->YF_aperature - undefined in RNA - cam->YF_dofdist - undefined in RNA
2009-01-23remove doubles op, ton: is this working properly?Shaul Kedem
2009-01-23Animato:Joshua Leung
* Removed a few excessive debug prints * Fixed crash on loading "Frankie" from BBB due to missing check for Driver without a target
2009-01-23Animato Bugfixes:Joshua Leung
* Fixed bug in with RNA-paths. String identifiers (i.e. some_collection["somekey"]) were not getting handled at all due to wrong indices it seems. I don't know of any other code using this, so hopefully there aren't any unintended bugs caused by this. This means that bone animation now works again. * Added a few more sanity checks to file-reading code, and heaps of extra prints everywhere else for debugging purposes (these will be removed in due course).
2009-01-222.5 MSVC9 projectfiles Andrea Weikert
updates: * windowmanager/wm_jos.c * editors/datafiles/preview.blend.c
2009-01-22New Operators, duplicate is shift+d, Add operators are accessible from the ↵Campbell Barton
header. SEQUENCER_OT_add_duplicate(mode=1) SEQUENCER_OT_add_image_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) SEQUENCER_OT_add_movie_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) SEQUENCER_OT_add_sound_strip(name='', start_frame=0, channel=1, filename='', replace_sel=True) Some of these use the file selector, Note that sound isn't working yet because editsound.c functions are not yet in 2.5 and Operators dont have a way to recieve an array of strings so SEQUENCER_OT_add_image_strip only adds 1 image at the moment.
2009-01-222.5Ton Roosendaal
- warning cleanup (wrong casts, unused vars, missing protos) - removed old cruft from node_edit.c - cleaned wm_jobs.c a bit
2009-01-222.5Ton Roosendaal
Added WM Jobs manager - WM can manage threaded jobs for you; just provide a couple of components to get it work: - customdata, free callback for it - timer step, notifier code - start callback, update callback - Once started, each job runs an own timer, and will for every time step check necessary updates, or close the job when ready. - No drawing happens in jobs, that's for notifiers! - Every job stores an owner pointer, and based on this owner it will prevent multiple jobs to enter the stack. Instead it will re-use a running job, signal it to stop and allow caller to re-initialize it even. - Check new wm_jobs.c for more explanation. Jobs API is still under construction. Fun: BLI_addtail(&wm->jobs, steve); :) Put Node shader previews back using wmJobs - Preview calculating is now fully threaded (1 thread still) - Thanks to new event system + notifiers, you can see previews update even while dragging sliders! - Currently it only starts when you change a node setting. Warning: the thread render shares Node data, so don't delete nodes while it renders! This topic is on the todo to make safe. Also: - bug in region initialize (do_versions) showed channel list in node editor wrong. - flagged the channel list 'hidden' now, it was really in the way! This is for later to work on anyway. - recoded Render API callbacks so it gets handlers passed on, no globals to use anymore, remember? - previewrender code gets now so much nicer! Will remove a lot of stuff from code soon.
2009-01-22Animato - Basic version patching supportJoshua Leung
This is work-in-progress patching support for converting animation saved in old system to work in the new one. * Only IPOs/Actions directly attached to Objects + Shapekeys are converted for now. More types will follow... * This is currently done as a step outside of do_versions() due to problems with various pointers not having been resolved yet, but which are necessary for correct resolution of issues such as drivers... However, the current code does illustrate how the data should be converted to give best results/compat between the two systems. * Still need to get the converted data working with depsgraph correctly. Currently, some of my testfiles work, but the BBB files still don't.
2009-01-22* Fixed some crashiness with sculpt file loadingNicholas Bishop
* Added undo push for toggling sculpt mode * Little optimization for brush texture, was generating quite large textures unecessarily
2009-01-22Undo in sculpt mode works now. Also removed some unused old code in sculpt.cNicholas Bishop
2009-01-22Brought back sculpt smooth brush. Also added a new brush flag for setting ↵Nicholas Bishop
whether to use brush spacing.
2009-01-22Brought back rake mode for sculpt (turns the brush texture with the ↵Nicholas Bishop
direction of the brush stroke.)
2009-01-21Brought back textures for sculpt mode. These are stored in Brush DNA now, as ↵Nicholas Bishop
well as the three texture modes (drag/tile/3D).
2009-01-212.5 filebrowserAndrea Weikert
cleaned up selection code new operators: - highlight file under cursor - select all/nothing (AKEY) - border select (BKEY) changed selection to be invoked by LEFTMOUSE
2009-01-212.5 MSVC9 projectfiles Andrea Weikert
updates: * windowmanager/wm_draw.c
2009-01-21sequencer operators duplicate, delete, separate images.Campbell Barton
2009-01-21* Fixed a minor CMake error for WITH_YAFRAY optionNicholas Bishop
* Removed two unused sculpt DNA fields * Restored brush spacing option to sculpt
2009-01-21sequencer header buttons, not linked up to anything yet.Campbell Barton
2009-01-21basic transform for sequencer stripsCampbell Barton
can transform the strips or move their handles Still todo, click-drag transform, metastrips support, snapping, markers overlap checks and constrain to valid channels.
2009-01-21Animato - Quick bugfixJoshua Leung
Added missing 'break;' 's skipped during the sprint towards the "first working prototype" stage. The temporary Insert Keyframe operator should now work correctly for rotation/scaling keys now by not adding extra keys.
2009-01-21 2.5Michael Fox
******* just a small commit, addeed a few more error, warning reports
2009-01-212.5: WIP commit for WM compositing.Brecht Van Lommel
* Drawing code from wm_event_system.c split into separate wm_draw.c file. Now there's 3 different draw methods implemented, not sure what survives or will be added but is useful for debugging. * Draw All: redraws everything each time, for reference. * Draw Overlap All: what the code did before this commit, only draw regions marked for redraw, and anything that overlaps them. * Triple Buffer: copies/retores all area regions into a texture, and blits that before drawing. Menus, brushes, gestures, etc are redrawn always on top of that. Currently "Draw Overlap All" is set hardcoded to be used still. Triple Buffer code is not complete, it doesn't handle window resize yet. Cards that don't support non power of two textures can need quite large textures as well, this could be split into multiple smaller ones.
2009-01-202.5Martin Poirier
cleanup image window apsect ratio correction mess (still disabled, this just cleans fonction call locations and name)
2009-01-202.5Martin Poirier
EditMesh snap still had stubs instead of proper editmesh calls Misc correction for 2D edit with NDOF (not testable without ndof support)
2009-01-202.5Martin Poirier
Redraw at the end of transform even if not cancelled, to make sure all special transform draw doesn't stay on screen.
2009-01-202.5Ton Roosendaal
Two bugfixes: - area-full (ctrl+up) crashed on area-edge - view3d view-icon and axes color wrong.
2009-01-202.5 MSVC9 projectfiles Andrea Weikert
updates: * several new files added to editors/space_sequencer * several new files added to editors/preview
2009-01-202.5Ton Roosendaal
View3D four-split: added box-clip for the three ortho windows. Is all on by default, waiting for headers and buttons to come back. Also: hotkey for foursplit now also removes it (toggle) Also: window_to_3d() function only did delta's, renamed it to window_to_3d_delta and coded a real window_to_3d()
2009-01-202.5Ton Roosendaal
Couldn't leave to finish this; four-split 3d view now syncs the ortho views to a box-view. Brings back good old Amiga Sculpt4D feeling! :) What's not done is to use the box to clip away invisible stuff. Note that it still allows to switch top-bottom, left-right or front-back. The 4th window is entirely free. Test: use shift+alt+ctrl+S. In due time will all go the headermenu, configurable, of course.
2009-01-20WIP, operators SEQUENCER_OT_add_color_strip and SEQUENCER_OT_add_scene_stripCampbell Barton
but no menu to access them yet, for now can access them with R and Tkey
2009-01-20needed this include path to buildCampbell Barton
2009-01-20Animato - More work on Action Editor Joshua Leung
* Added back Auto Preview-Range tool (i.e. set preview-range from keyframe extents) * Restored delete keyframe tool. For now, this doesn't delete empty F-Curves, even though its keyframe-api counterpart still does. I still need to figure out how to do this in the best way. * Fixed crashes when selecting keyframes in 'object' summary channels * Removed prototypes for a few unused/depreceated functions...
2009-01-20missing commaCampbell Barton