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-09-08Fix T46003: Scale w/ script ignores axis-alignCampbell Barton
2015-09-06Add icon for incremental grid snappingJulian Eisel
As decided in D910, we use a new icon for incremental grid snapping and use its old one for absolute grid snapping. This also touches the library_data_broken icon .dat files, seems some changes on its .svg entry landed in upstream without updating the other icon files (already noticed this when committing icon for auto-offset, but removed it from commit - leaving it in now to avoid further confusion) Icon by @plyczkowski (made a tiny edit as it looked a bit blurry in 16x16). Thx!
2015-08-31Fix T45258, impossible to select brush when removing it from 2dAntony Riakiotakis
painting. Also system added a brush every time it found no paint brush in the system which is not what we would want. Solution: * Brush panel stays visible always, regardless of whether there is a brush or not. * We search for first available brush when we find no brush in paint struct instead of always generating a new one. * Generating and searching for a brush take a mode argument now. Needed some refactoring to users of BKE_paint_init as well. * Did some style cleanups for paint mode enums. Patch is big but it's mostly argument refactoring.
2015-08-27Fix T45702: Editing smoke while viewport render and blender bugSergey Sharybin
Issue was caused by blender internal accessing data from DNA during rendering. There's no simple solution to make stuff thread safe, so for now simply restart rendering on frame update.
2015-08-26Return success when a screen was added/removedCampbell Barton
Currently unused, but useful for screen-operators.
2015-08-25Action Management Feature Request/Regression T45535Joshua Leung
By popular request, restored the ability to shift-click on the X (unlink) button to unlink the action (from the active action slot), clear the Fake User, and also remove the NLA-stashed copy (only works for the current object/NLA stack though).
2015-08-21Docs: correct some commentsCampbell Barton
2015-08-19Final 'FileBrowser First Stage' merge.Bastien Montagne
It basically rewrites most of filelist.c, with some more limited changes in other areas of filebrowser. From user perspective, it: * Removes some info in 'long' drawing mode (owner, permissions) - OS-specific data that do not really matter in Blender! * Makes short/long display 'fixed' size (among four choices, like thumbnails mode). * Allows to list several layers of dirtree at once, in a flat way (inside .blend files and/or real directories). * Consequently, adds datablocks types filtering. * Uses way less RAM when listing big directories, especially in thumbnail mode (we are talking of several hundred of MiB spared). * Generates thumbnails way faster. From code perspective, it: * Is ready for asset engine needs (on data structure level in filebrowser's listing). * Simplifies and makes 'generic' file listing much lighter. * Separates file listing in three different aspects: ** 'generic' filelisting (in BLI), which becomes a shallow wrapper around stat struct. ** 'filebrowser drawing' filelisting, which only contains current visible subset of the whole list (sliding window), with extra drawing data (strings for size, date/time, preview, etc.). ** 'asset-ready' filelisting, which is used for operations common to 'basic' filehandling and future asset-related one. * Uses uuid's to handle file selection/state in the browser, instead of using flags in filelisting items. * Uses much lighter BLI_task handling for previews, instead of heavy 'job' system (using the new 'notifier' timer to handle UI refresh, in similar way to jobs). * Moves .blend datablocks preview handling to IMB_thumbnail (necessary to avoid storing all datablock previews at once, and gives better consistency and performances too). Revision: https://developer.blender.org/D1316 Thanks to Campbell & Sergey for the reviews. :)
2015-08-18UI: avoid property lookup w/ expanded enumsCampbell Barton
2015-08-14Fix unnecessarily added undo steps when deleting only sceneJulian Eisel
Steps to reproduce were: startup.blend, move any object, delete active scene (nothing happens), undo (nothing happens), second undo is needed to revert object transformation
2015-08-10UI drag&drop: make code able to free dragpoin if needed.Bastien Montagne
Only for image and strings for now. Needed for incomming filebrowser work.
2015-08-10Data previews: add utils to generate/clear previews.Bastien Montagne
Not much to add, you can now clear previews from current .blend file, or a set of non-opened files. Likewise, you can generate previews (for mat/tex, objects, groups, scenes, ...).
2015-08-01Note Editor: Auto-offset nodes on insertionJulian Eisel
Implements "Auto-offset" (called "insert offset" in code) feature for Node Editor, developed during and after LSOC :) Idea and sponsoring by Sebastian König, blendFX, Mathias Eimann, Mikavaa, Knick Design When you drop a node with at least one input and one output socket onto a an existing connection between two nodes, Auto-offset will, depending on the direction setting, automatically and animated move the left or right and all of its following nodes away to make room for the new node. The direction for offsetting can be toggled while you are moving the node by pressing „T“. The auto-offset is enabled by default but can be disabled in the header of the node-editor. The offset margin can be changed in the editing section of the User Preferences. Thanks a lot to the sponsors, and especially to Sebastian who helped *a lot* with this. That's how users can help developing Blender!
2015-07-29Do not show fps while scrubbing.Antony Riakiotakis
2015-07-29Gooseberry animation feature: Add toggle that disables modifiers on fcurves.Antony Riakiotakis
Feature is found as per channel option in graph editor.
2015-07-29Clean channels tool for Hwoozeberry.Antony Riakiotakis
Basically it's a clean keyframes tool, but also removes a channel if the only remaining keyframe has the default value only and is not used by drivers or generative modifiers. It's was used to help with performance of keyframe-heavy scenes in gooseberry. Note, as always the curve left after the clean tool is used is not the same as the original, so this tool is better used before doing custom editing of fcurves and after initial keyframe insertion, to get rid of any unwanted keyframes inserted while doing mass keyframe insertion (by selecting all bones and pressing I for instance)
2015-07-22Render preview: Make preview render database lazily loadedSergey Sharybin
Gives about 5-10% of startup time improvement here.
2015-07-20Fix define issues w/ WITH_GL_PROFILE_COMPAT offCampbell Barton
This still fails to build, but at least fail where its supposed to (using unsupported API's).
2015-07-15Icons: Add new 'library_data_broken' one.Bastien Montagne
2015-07-13Add icon scale argument for ui-template-previewsCampbell Barton
2015-07-11Add WM_framebuffer_to_index_arrayCampbell Barton
Convert buffer to index in one loop, also minor cleanup to backbuf/selection functions. - Use IMB_rectcpy instead of inline pixel copy. - Redundant WM_framebuffer_to_index call.
2015-07-10Cleanup: remove redundant includesCampbell Barton
2015-07-09Curve selection, de-duplicate & cleanupCampbell Barton
2015-07-08EditCurve: move selection into own fileCampbell Barton
2015-07-03UI: add ability to access/generate 'shortcuts strings' of modal keymaps.Bastien Montagne
We already had that for global keymaps (used e.g. to generate shortcuts for menu entries), but this wasn’t possible for modal keymaps yet (e.g. help message in header during transforms and other modal operation). This commit only adds needing background code, it does not change anything from user PoV. Modal operators will be updated to use it in comming weeks. Thanks to Campbell for revisions & suggestions. :) Differential Revision: https://developer.blender.org/D780
2015-07-01Cleanup: Use bool instead of intJulian Eisel
2015-06-30Cleanup: use const for screen functionsCampbell Barton
2015-06-25API calls for converting weights to float arrayCampbell Barton
2015-06-23Fix T45051: Curve parent bug.Bastien Montagne
PARCURVE is deprecated parting type, should never have been exposed to user! Not a regression, but safe enough for final 2.75 imho.
2015-06-21Fix/Cleanup possibility to type insane values in 'add' operators options.Bastien Montagne
Our 'hard limit' values was too often max_int/float here, mis-typing could lead to crash (or infinite hanging) of Blender, see e.g. http://blender.stackexchange.com/questions/32790/blender-forces-computer-to-reboot-after-mistyping-extreme-value-for-resolution-i
2015-06-20Transform: UV islands were split by windingCampbell Barton
This meant front/back faces from a projection would be seen as separate islands.
2015-06-17Fix (unreported) redo of 'bone envelope distance resize' transform op not ↵Bastien Montagne
working (it would behave like 'bone envelope resize' instead). Issue comes from the fact this transform op shares some common points with both BoneResize and BoneEnvelope operations. However, trying to re-use `TFM_BONE_ENVELOPE` itself in this case is bad idea, since this mode gets stored in transform op and is directly re-used for redo, by-passing the whole init phase that shall be done in `TFM_BONESIZE` mode... So now, we add a real new mode, `TFM_BONE_ENVELOPE_DIST`, while keeping most of existing code and all existing behavior. This is slightly hackish - but was already anyway, and avoids creating a full new set of function for pretty much the same thing. As a side note, also makes it possible to resize envelope distance outside of envelope viewing mode (from py or by adding a custom shortcut).
2015-06-13Multi-View: Show multiview image properties only in the places whereDalai Felinto
they are supported aka, remove multiview properties from the texture panel, the textures node (image), and any other parts. The multiview options are now to be explicitly set in the image template in order to have them available in the respective panel
2015-06-11Masking: Numpad-. now centers view to selected control pointsSergey Sharybin
Currently feather points are being ignored, it could be improved in the future.
2015-06-09Fix T44930: File-select in redo panel, disables UICampbell Barton
2015-06-08Fix T44976: 3D View turns into an Image Editor after saving renderJulian Eisel
result Was a case of two stacked temporary fullscreens, so a quite extreme situation.
2015-06-08Cycles: Fix crash doing render preview of external OSL scriptSergey Sharybin
2015-06-08Alternative fix copying windows from popup dialogsCampbell Barton
It could still crash if the window was freed and another was activated. see T44688.
2015-06-03Fix UI string clip (reverse search separator char)Campbell Barton
The string may have many '|' characters, only the last is clipped.
2015-06-01Fix T44747: Drag toggle /w nodes (glitch)Campbell Barton
It was possible to perform actions while performing a drag-toggle.
2015-05-25Fix `widget_draw_preview()` not taking into account given alpha.Bastien Montagne
Needed to get correct 'inactive' effect on buttons with big previews.
2015-05-23IconView template: adding optional labels to popup buttonsInes Almeida
2015-05-17BMesh: don't check winding for uv-vert-mapCampbell Barton
Made link-select separate front/back with projected UV's
2015-05-15Zoom to frame options, requested by the Hwoozeberry (dutch translation)Antony Riakiotakis
team. There are 3 options here: 1) Keep range (previous behaviour) 2) Seconds - allows a specified offset in seconds around current frame 3) keyframes - zoom to include a number of keyframes around the cursor Options 2 and 3 have their own properties to tweak the behaviour and all options can be found in User Preferences->Interface under the 2D viewports section. Number 3 will probably need some refinement so commiting here for the hwoozeberry team to test first.
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-11UI: initial support for UI editing selected itemsCampbell Barton
Add basic support (holding Alt) to edit all selected objects/bones/sequences.
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-04Cleanup: deduplicate code.Bastien Montagne
FileBrowser had its own 'shorten_string' func, when we have a full fledge one in interface_widget code...
2015-05-04Support displaying metadata for images in sequencer preview windows (notAntony Riakiotakis
backdrop)
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.