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
2015-05-23Cleanup: typosCampbell Barton
2015-05-21Fix crash in blenderplayer when scrubbing off screen.Antony Riakiotakis
Was cache referencing deleted or NULL items. Reported by Kopias on irc
2015-05-19Building without Python works againCampbell Barton
2015-05-18UI: errors in buttons now show in info reportCampbell Barton
Mistakes in button expressions were previously only printed to the console.
2015-05-17Fix T44739: OS X RMB emulation giving wrong mouse button release event.Brecht Van Lommel
2015-05-16Cleanup: use define for playback frame limiterCampbell Barton
2015-05-15Only initialize icons in background mode.Campbell Barton
Also enable this for headless builds too. Calling UI_icons_init would initialize matcaps, brushes etc...
2015-05-15Fix new 'custom previews/icons' py feature crashing in background mode.Bastien Montagne
We want this even without UI, some scripts may use it in a background processing mode to avoid too heavy process in actual 'user' blender...
2015-05-15Add really simple memory reduction scheme for internal animation player.Antony Riakiotakis
Holds 30 frames in memory. Could make it check memory instead but that should suffice for now to make sure blender does not crash on me with movie files. Previously the system would load eveything in memory so something like playing caminandes in player would swap after 30 seconds in local computer.
2015-05-15Fix some issues found by Coverity ScanJulian Eisel
Some of them are just brain dead code, some are potential bugs.
2015-05-14Invert value calculation for percentages it makes more sense that wayAntony Riakiotakis
2015-05-14Radial operator:Antony Riakiotakis
Percentage properties use interaction like factors with number feedback and easier way to go predict lower percentages.
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-04Fix Buttons context, invalid object data accessCampbell Barton
Another instance of T44376. Crash where the Python context would access a stale pointer to the active object.
2015-05-04Fix T44376: Buttons context, invalid data accessCampbell Barton
Removing a scene from the buttons window would crash from a Python operator.
2015-05-04Cleanup: WM_main_remove_notifier_referenceCampbell Barton
Assumed the `reference` pointer is an ID, currently true, but may not always be. Add a callback specifically for this purpose since cleaning up notifiers and space-types are different operations.
2015-05-04Cleanup: naming for callback wrappersCampbell Barton
2015-05-01Auto pack: don't show "No new files have been packed" on every .blend file save.Brecht Van Lommel
2015-04-30Fix T44439: outliner's treestore could keep invalid ID pointers, could crash ↵Bastien Montagne
on undo due to invalid mem access. We cannot nuke treestore in readfile's `blo_lib_link_screen_restore()`, because this will destroy all UI-state data (like opened/closed items, etc.). Since we cannot know for sure whether an ID pointer from tselem->id is valid here, we have to ensure they are never invalid, i.e. to always set them to NULL when we delete them. To do so, this commit uses a similar approach as what already exists for ID references in WM notifiers - it extends `free_notifier_reference_cb()` to also nullify those IDs in all outliners. Note that some ID types are not used(shown) by outliner currently, so `TREESTORE_ID_TYPE` macro was added, that checks whether an ID is possibly used by outliner. Avoids a few searches in whole tree whene deleting some IDs. Reviewers: campbellbarton, sergey Maniphest Tasks: T44439 Differential Revision: https://developer.blender.org/D1272
2015-04-29Don't check against scene notifier twiceAntony Riakiotakis
2015-04-27Usual UI messages fixes...Bastien Montagne
2015-04-27Fix T44011: Ruler/Knife/Loop-cut fail in quad-viewCampbell Barton
This is a kind of sloppy-focus, resolving long standing bug with loop-cut/knife/ruler /w quad-view. Where activating a tool would lock onto one of quad-views, especially problematic when activating from the toolbar or menus.
2015-04-27Cleanup: rename GRAB_POINTER -> GRAB_CURSORCampbell Barton
Term pointer is overloaded already.
2015-04-26UI: 'View Online Manual' ShortcutJulian Eisel
D1031, implement proposal T37478 to give easy access to the online manual. Use Alt+F1 while hovering over a button/setting.
2015-04-25Fix T42495: Fullscreen area icon glitchJulian Eisel
Tried a couple of things to trigger an update/redraw for the exact right moment (sending azone update event, timer, delayed redraw, etc) but this seems to work rock solid without being *that* ugly.
2015-04-24Multi-View: Set Stereo 3D operator support for EXEC callsDalai Felinto
2015-04-24Multi-View: rolls back to a non quadbuffer friendly window if displaymode ↵Dalai Felinto
changes from pageflip to something else In some cases the graphic card supports quadbuffer, but not the display. In this case it is nice to go back to a window that does not have quadbuffer if you change back to anaglyph, interlace, ... Otherwise you may be stuck with a flickering window
2015-04-24Multiview: Quadbuffer (time sequential) working [debug builds only]Dalai Felinto
I'll enable this mode in Release builds once I figure out how to best handle opening files that are saved with the quadbuffer mode. In fact I think no display mode should be saved/read from a file. Tested in Linux with NVidia 3D Vision and NVidia 3D Vision Pro with NVidia Quadro FX 580 and Quadro FX 4600. (kudos for the Visgraf Lab at IMPA, for having me around with all those gadgets ;) Thanks for Cédric Paille (cedricp) for the code snippets and tests - T44327
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-04-18Autosave:Antony Riakiotakis
Flush edits only when saving global undo. This will stop freeing of PBVH in sculpt mode, which introduces some pretty severe freezes, especially in dyntopo. For global undo we flush the contents of the global undo buffer which does not include localized edits of sculpt/edit mode, so those data will not get saved anyway.
2015-04-15Cleanup: use const for event->tablet_dataCampbell Barton
2015-04-15Fix T44395: String untranslated in open file window.Bastien Montagne
2015-04-13Cleanup: do not use _reportf() when not doing any string formating!Bastien Montagne
Also usual minor i18n messages stuff...
2015-04-11Remove splash link to support gooseberryCampbell Barton
Was included only for initial campaign.
2015-04-10rename _ipo -> _fcurveCampbell Barton
2015-04-10Multiview: remove option to preview the selected stereo 3d mode and error ↵Dalai Felinto
when quadbuffer not supported This was causing glitches when switching from/to fullscreen modes (e.g., side by side to anaglyph). As for the quadbuffer errors this is part of a more complete solution to be committed later.
2015-04-09Multiview: fix crashes with pageflip mode - by Cédric Paille (cedricp)Dalai Felinto
2015-04-09WM: allow 'save as' to path set by operatorCampbell Barton
Invoke assumed the filepath was never set. Scripts couldn't invoke save-as at a custom location.
2015-04-08Multiview: Fullscreen modes (sidebyside/topbottom) were not workingDalai Felinto
* WM_window_is_fullscreen() is not the correct test. * Also, we no longer change window to fullscreen automatically.
2015-04-08Cleanup: IMB/thumb namingCampbell Barton
2015-04-07Multiview: update Set Stereo 3D menu when the selected stereo mode changesDalai Felinto
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-07Metaball tessellation optimization (Octree to BVH)Krzysztof Recko
Speedup is non-linear, 2x-10x faster is quite normal. Patch T43678. - Switched from an Octree to BVH. - Finding first points of surface no longer "wastes" density function evaluation: every result is cached. - Use MemArena instead of using own memory management. - Correct calculation of metaelem bounding box. - Remove mball_count(): mballs are now counted "on the go".
2015-04-07Various Sticky fixes (tm)Julian Eisel
* Revert 776bfa64a53191b and c3dad7953afccd4 (some X11 systems are doing stupid things forcing me to do an extra check that completely breaks the click type handling on other systems using the slightly changed implementation from those commits - see T44278) * Fix sample lines in Compositor+VSE (And yes, this time I tested on both of my systems to make sure everything is fine)
2015-04-06Multi-View and Stereo 3DDalai Felinto
Official Documentation: http://www.blender.org/manual/render/workflows/multiview.html Implemented Features ==================== Builtin Stereo Camera * Convergence Mode * Interocular Distance * Convergence Distance * Pivot Mode Viewport * Cameras * Plane * Volume Compositor * View Switch Node * Image Node Multi-View OpenEXR support Sequencer * Image/Movie Strips 'Use Multiview' UV/Image Editor * Option to see Multi-View images in Stereo-3D or its individual images * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images I/O * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images Scene Render Views * Ability to have an arbitrary number of views in the scene Missing Bits ============ First rule of Multi-View bug report: If something is not working as it should *when Views is off* this is a severe bug, do mention this in the report. Second rule is, if something works *when Views is off* but doesn't (or crashes) when *Views is on*, this is a important bug. Do mention this in the report. Everything else is likely small todos, and may wait until we are sure none of the above is happening. Apart from that there are those known issues: * Compositor Image Node poorly working for Multi-View OpenEXR (this was working prefectly before the 'Use Multi-View' functionality) * Selecting camera from Multi-View when looking from camera is problematic * Animation Playback (ctrl+F11) doesn't support stereo formats * Wrong filepath when trying to play back animated scene * Viewport Rendering doesn't support Multi-View * Overscan Rendering * Fullscreen display modes need to warn the user * Object copy should be aware of views suffix Acknowledgments =============== * Francesco Siddi for the help with the original feature specs and design * Brecht Van Lommel for the original review of the code and design early on * Blender Foundation for the Development Fund to support the project wrap up Final patch reviewers: * Antony Riakiotakis (psy-fi) * Campbell Barton (ideasman42) * Julian Eisel (Severin) * Sergey Sharybin (nazgul) * Thomas Dinged (dingto) Code contributors of the original branch in github: * Alexey Akishin * Gabriel Caraballo
2015-04-06Fix T44278: Tab, Z-Key and Spacebar not workingJulian Eisel
Seems like a fix that is needed for some X11 systems causes this bug on others :| Not sure if the systems that needed this fix are now still fine (since I did a slight change to the click type check procedure), but I need to check that on my system in the institute in a bit.
2015-04-05Stickies: Don't send extra event on KM_CLICKJulian Eisel
Just add KM_CLICK to the already sent KM_RELEASE, don't send a new one for this. This might help us to get rid of quite some glitches and workarounds \o/ (why didn't this come earlier to my mind? :S)