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
2016-09-19Cleanup: Completely replace/remove uiBut.lockJulian Eisel
Old leftover from pre 2.5 days. Now handled through UI_BUT_DISABLED button flag.
2016-09-18Minor corrections for previous commitJulian Eisel
Was using wrong argument name in doxygen comment. Also reduced scope of vars. Sorry for the noise :/
2016-09-18BLI_listbase: Add/use utility to move link (BLI_listbase_link_move)Julian Eisel
We were calling BLI_remlink and then BLI_insertlinkbefore/after quite often. BLI_listbase_link_move simplifies code a bit and makes it easier to follow. It also returns if link position has changed which can be used to avoid unnecessary updates. Added it to a number of list reorder operators for now and made use of return value. Behavior shouldn't be changed. Also some minor cleanup.
2016-09-18GPencil: Don't show error popup when strokes can't be reordered furtherJulian Eisel
Was spawning error popup each time user tried to move a stroke higher or lower than the list allowed. We don't do that anywhere else and it's not really useful info for the user. So rather not bother her.
2016-09-18GPencil: Fix memory leak using stroke arrange OPJulian Eisel
2016-09-17OpenGL render: Bugfix (unreported) after ↵Thomas Beck
rB6f92604e539b2114763150fb1ace60d28e59a889 Crashes occured immediately when clicking on "OpenGL render image" because there was only a task pool created previously when it was an animation. Solved it by introducing a variable is_animation to the openglrender and omitting the task_pool call when it's no animation. @sergey: Please check my changes, moved the pool_ok and the lock into the is_animation clause.
2016-09-16Pose library sorting: return OPERATOR_CANCELLED when no-opSybren A. Stüvel
A no-op happens when trying to move the top pose further up, or the bottom pose further down.
2016-09-16Improve description of move operator direction propertiesJulian Eisel
These may be exposed in UI (keymap editor & redo panel), so better avoid using identifiers like "UP" "DOWN". They are redundant anyway (already displayed).
2016-09-16Fix jumping view when expanding graph editor channel over view boundsJulian Eisel
Didn't change versioning_250.c entries, flags will be overridden anyway.
2016-09-16Fix vertical scrollbar adding to region width in graph editorJulian Eisel
Had to calculate draw region width based on region size excluding scrollbars.
2016-09-16Remove debug only codeSergey Sharybin
Thanks Severin for spotting it!
2016-09-16Tweak for pinned/always visible curves in Graph EditorSergey Sharybin
Allow such kind of pin for armature bones.
2016-09-16Added buttons to move a pose in a pose library up/down.Sybren A. Stüvel
This will break the pose library preview add-on, since that add-on uses file indices rather than pose names.
2016-09-16Picky correction to previous commitJulian Eisel
A bit nicer to do empty-string check for operator poll message as well.
2016-09-16UI: Allow showing why button is disabled in tooltipJulian Eisel
Uses red alert color. Operators that failed poll check already did this.
2016-09-16GPencil: Add a new special menu for editing and replace subdivision shortcutAntonioya
Replace the W shortcut for subdivision by a new menu for edit specials in order to keep consistency in UI. Subdivision is not used all the time, so it's better assign this shortcut to menu.
2016-09-16GPencil: New subdivide stroke operatorAntonioya
In some situations the artist needs to subdivide a stroke created with few points before, specially for sculpting. The subdivision is done for any pair of continuous selected points in the same stroke. The operator can be activated in edit mode with W key and has a parameter for number of cuts.
2016-09-16OpenGL render: Move file writing to a separate threadSergey Sharybin
The idea is to have a dedicated thread which is responsive for all the file writing to a separate thread, so slow disk will not slow down OpenGL itself. Gives really nice speedup around 1.5x when exporting barber shop layout file to h264 video.
2016-09-16Fix T49369: Blender crashes/closes down application at alembic export ofKévin Dietrich
any object There were a couple of crashes caused by stupid typos in rB631af9f930d2fd2c76751204ff22239aa95f761d and rB78ea06fea4a74181c25254ed72d50d8a743b6954, as well as a shamefull lack of 'testing before committing' which only affect exporting. One crash was due to using RNA_boolean_get instead of RNA_enum_get, the other one was a tricky case of order of deletion happening in the destructors of AbcExporter and ArchiveWriter. Should not affect RC or release.
2016-09-15Fix mistake in previous commitSergey Sharybin
Was copying things in other way around and was not performing proper color space conversion.
2016-09-15OpenGL render: Avoid byte-float-byte roundtripSergey Sharybin
It was annoyingly slow to do roundtrip from byte OpenGL render to float render result and back to byte image format (which is used in 99% of cases for the OpenGL previews), Now we use render result's rect32 to store render result which is already supposed to be in the display space. Gives about 30% speed improvement for OpenGL previews here.
2016-09-15OpenGL render: Add developer option to easily enable time informationSergey Sharybin
2016-09-15Fix filebrowser not getting back to valid dir in Release builds.Bastien Montagne
Stupid mistake wrapping path validation code inside a BLI_assert, which means it was only called in Debug builds... Found by Sergey, thanks. Should be backported to 2.78.
2016-09-15OpenGL render: Skip GP passes if viewport has GP visibility disabledSergey Sharybin
2016-09-15Use temp .blend file copybuffer for pose copy-pasteSergey Sharybin
Uses similar way of storing temp data as object copy paste, just uses different read entrypoint which does not modify current bmain. This gives ability to easily copy-paste poses from one blender to another one. Hopefully doesn't introduce user-measurable differences. Request from Peer here in the studio. Reviewers: mont29 Reviewed By: mont29 Subscribers: hjalti, fsiddi Differential Revision: https://developer.blender.org/D2229
2016-09-14Fix T49352: Blender's file browser do not display previews.Bastien Montagne
Own stupid 'logical inversion' mistake in rBa2677100fef06af.
2016-09-14Fix memory leak in copy pose operatorSergey Sharybin
2016-09-13FileBrowser: Always do full cache refresh while we are still listing...Bastien Montagne
Does not seem to be a problem with embeded filelisting code, but was breaking with some experimental asset engines.
2016-09-13Outliner: Report linked datablock edit failure when trying to rename linked ↵Philipp Oeser
data in outliner
2016-09-13Fix T49323: Ineffective bone roll calculation with low rig scaleSergey Sharybin
The code was expecting vector to be normalized, however after applying inverted object matrix it was possible to have scale applied to it.
2016-09-13Fix T49336: Outliner allows to edit restrict flags for linked objectsSergey Sharybin
2016-09-12Fix code which was commented by accidentSergey Sharybin
Well, more like some last-minute checks which i did not see before commit. Let's increase commit ratio!
2016-09-12Graph editor: Add channel option to make it persistent on displaySergey Sharybin
The idea is to allow certain animation channels to be always visible in animation editors. So, for example, one can pin Camera animation to the editor so it is always possible to refine/tweak camera animation when animating something else in the scene. There is probably some more polishing required, and some current limitations could be solved in the future but should be a good starting point already. Currently only works for object without recursing into deeper datablock (so for example, it's not possible to pin object material animation). Studio request by Colin Levy.
2016-09-11Revert "GPencil: Add IFACE_ macro to some strings"Antonioya
This reverts commit b50a5b92c15e0f110ca978352c2ba59bc3e97dd3 because BKE_report functions are already automatically handled by translation system.
2016-09-11GPencil: Add IFACE_ macro to some stringsAntonioya
2016-09-11GPencil: Change interpolate stroke factorAntonioya
Now the factor works similar to other Blender areas to make the factor more consistent for artists. The value 0% means equal to original stroke, 100% equal to final stroke (50% means half way). Any value below 0% or greater than 100% create an overshoot of the stroke.
2016-09-09Smoke viewport: remove dead code.Kévin Dietrich
OCD commit, but cleans the code a bit: - the first `if 0` block was supposed to draw collision objects but is vastly outdated as most of the SmokeCollisionSettings member variables were removed a few years ago and collision objects are drawn like other objects anyway. Also it was committed already commented out back in 2009. - the second `if 0` block was doing pretty much the same thing as the few lines above it.
2016-09-09Alembic: add option to triangulate meshes upon export.Kévin Dietrich
2016-09-08Fix strict compiler warningsSergey Sharybin
2016-09-08Fix compilation error: missing forward declarationSergey Sharybin
2016-09-07GP Interpolation: Mark created frames as being "breakdowns"Joshua Leung
This brings this tool more in line with the Breakdowner for armature animation, with which it shares many commonalities.
2016-09-07Fix: GPencil drawing sessions now respect limits for maximum undo stepsJoshua Leung
When drawing with Grease Pencil "continous drawing" for a long time (i.e. basically, drawing a very large number of strokes), it could be possible to cause lower-specced machines to run out of RAM and start swapping. This was because there was no limit on the number of undo states that the GP undo code was storing; since the undo states grow exponentially on each stroke (i.e. each stroke results in another undo state which contains all the existing strokes AND the newest stroke), this could cause issues when taken to the extreme.
2016-09-07Code Cleanup: Deduplicate undo node freeing codeJoshua Leung
2016-09-07GPencil: New interpolate strokes operatorsAntonioya
Two new modal operators to create a grease pencil interpolate drawing for one frame or a complete sequence between two frames. For drawing the temporary strokes in the viewport, two drawing handlers have been added to manage 3D and 2D stuff. Video: https://youtu.be/qxYwO5sSg5Y The operator shortcuts are Ctrl+E and Ctrl+Shift+E. During the modal operator, the interpolation can be adjusted using the mouse (moving left/right) or the wheel mouse.
2016-09-06Fix T41883: Strip keyframes not respected for scenes rendered by other scenesSergey Sharybin
2016-09-05Fix cast shadows (material option) in the viewportMike Erwin
Fix cast shadows options (in material tab) not working in the viewport. An off-by-one error. See D2194 for more. Committing for Ulysse Martin (youle) who found & fixed this.
2016-09-05UI: Ctrl+Tab and Ctrl+Shift+Tab to cycle through space context "tabs"Julian Eisel
In User Preferences, Properties Editor and toolshelf, Ctrl+Tab and Ctrl+Shift+Tab now activates the next or previous space context (or category in case of toolshelf tabs), respectively. For Properties Editor such functionality was completely missing, only toolshelf allowed cycling using ctrl+mousewheel (or only mousewheel while hovering tab region). Ctrl+Tab and Ctrl+Shift+Tab are common web browser shortcuts, so they're a reasonable choice to go with. Reaching the first/last item doesn't cause the cycling to stop, we continue at the other end of the list then. (I didn't add this to Ctrl+Mousewheel toggling in toolshelf since I wanted to keep its behavior unchanged.) We could get rid of (Ctrl+)Mousewheel cycling in toolshelf, but this may break user habits. The cycling happens using a new operator, UI_OT_space_context_cycle, for toolshelf tabs it's hardcoded in panel handling code though. Generalized rna_property_enum_step a bit and moved it to rna_access.c to allow external reuse. Reviewed By: venomgfx Differential Revision: https://developer.blender.org/D2189
2016-09-05Fix own mistake in recent rB8b2a45052093, broke saving render results as ↵Bastien Montagne
images in some cases. Reported by sebastian_k over IRC, thanks. To be backported to 2.78.
2016-09-03Fix T49228: Separate by material, materials dissappear after reload.Bastien Montagne
Yet another mismatch where code would decrease usercount (of Material here) but never increase it again when re-assigning the datablock...
2016-09-03Fix T49229: ID user decrement error when deleting group instance twice.Bastien Montagne
Another great example of inconsistency in usercount handling - dupli_group was considered as refcounted by readfile.c code (and hence by library_query.c one, which is based on it), but not by editor/BKE_object code, which never increased group's usercount when creating an instance of it etc. To be backported to 2.78.