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-11File Bookmarks: use volume label on Windows, and set name of recent entriesBastien Montagne
from system/user bookmarks' name if possible. Volume label on Windows was request from T46083, makes Blender more in line with 'common' filebrowsing on this OS. And now, we automatically set name of recent entries from the bookmarks, if path can be found there, more consistent too from user PoV.
2015-09-11Fix T45755: Bad NLA text alignmentCampbell Barton
2015-09-11Fix T45579: Custom Hotkeys Dissapear.Bastien Montagne
Due to how we find kmi to remove and kmi to add when patching final keymap with user defines, we could actually end up with same kmi for both, see comments in code for details. Note that it may be a good idea to make user-defined customizations specific to a given base keymap, instead of applying them blindly?
2015-09-11Fix T45165, OSX quicktime fails with diacriticals in filename.Howard Trickey
Since Blender internal strings are UTF8, changed the initialization of the string to use initWithUTF8String from default encoding. Fix worked on OSX 10.5.5.
2015-09-11Fix memory leaks in collada importCampbell Barton
2015-09-11Fix T46074: Collada crashes importing animationCampbell Barton
double-frees and freeing memory already inserted into Blender.
2015-09-11Fix T46058: Modifiers on curve shows different results on OpenGL and cycles ↵Sergey Sharybin
render Not really ideal fix, but should make Cycles behave same as BI. For some details please refer to inline comment.
2015-09-10Fix T46070: Content of folders with a .blend extension aren't listed until ↵Bastien Montagne
filtering is disabled. Own stupid mistake somewhere during filebrowser revamp...
2015-09-10UI: increase threshold for color-band selectCampbell Barton
Was quite small, especially with hi-dpi displays. Increase to 50 since theres no benefit to not select when clicking.
2015-09-10PyAPI: add an update method for propertiesCampbell Barton
This is called when modifying an RNA property, however it can be useful to be able to make a properties update callback run without having to change it.
2015-09-10Show correct syntax for id-propertiesCampbell Barton
2015-09-10Correction to last commitJulian Eisel
Did a fullscreen check in a function that should only be called in fullscreen mode. Not a big deal, but bad API practice.
2015-09-10Fix T46069: Crash when saving a render with non-fullscreen file editorJulian Eisel
IMAGE_OT_save_as assumes that active area is an Image Editor and the logic that should return to image editor after saving didn't run after fullscreen was manually exited.
2015-09-10Fix T44344: paint bleed fails in perspective viewCampbell Barton
2015-09-10Fix T46067: ShrinkWrap + Threaded depsgraph crashCampbell Barton
Note that allocating DM arrays from an editmesh is currently not threadsafe, however even if were resolved, its more efficient to avoid having to do it in the first place.
2015-09-10Fix incorrect textbox use w/ scaled fontsCampbell Barton
2015-09-09Fix broken logic in new FileBrowser caching of entries.Bastien Montagne
We were still using main borwser's FileDirEntryArr to own memory of entries currently in cache. That was OK for common caching operation, but if was not released when clearing cache! Nothing dramatic, since that was cleared too, but less often, so e.g. by changing sorting options you could pile up more and more no-more-used entries there... Anyway, there is no reason to do that, much more sound and clean to keep everything cache-related in dedicated FileDirEntryCache struct. This means main borwser's FileDirEntryArr is now always expected to not store any actual entry! Note: this can probably be cleaned up a bit more, but would wait after 2.76 for this!
2015-09-09bgl: fix implicit overflowCampbell Barton
2015-09-09bgl: disable some defines not found in mesa 7Campbell Barton
2015-09-09Fix T45880: Texture Paint mask random angle failsCampbell Barton
Random mask failed when the paint brush didn't have random angle enabled too.
2015-09-09Fixes T46060 Regenerated the full list of constants we should exposeMartijn Berger
2015-09-09Fix crash viewing passes w/ scopesCampbell Barton
Scopes assumed all passes were RGBA, but some passes have 1-3 channels.
2015-09-09Fix T45839 : Regression - Multi-layer image issues when using non-standard namesDalai Felinto
This was introduced in the fix for T44336 . The code is now what it should have been in the first place at the time of multiview commit. ImageUser->passtype is being removed in favour of bringing ImageUser->pass back. Reviewers: sergey Differential Revision: https://developer.blender.org/D1504
2015-09-09Fix (unreported) crash with undo/outliner and drivers.Bastien Montagne
To reproduce the crash: * Add some shapekeys to default cube. * Add at least on driver (can be default empty one) to a shapekey value. * **Make this driver visible in Outliner**. * Delete all shapekeys. * Undo. * Crash. Root of the issue is outliner reading code in `blo_lib_link_screen_restore()`, which would try to `restore_pointer_by_name()` for all `TreeStoreElement->id` pointers. Thing is, those id pointers are not always IDs, they can be animdata, sequence, RNA struct/property... That's really not so great design, but also has reasons like size of the struct, we have to live with it. So now: * TreeStoreElement->type defines are braught back into DNA. * There we also define a `TSE_IS_REAL_ID` macro to check whether a given TreeStoreElement actually stores an ID pointer or not. * And in Outliner read code we only try to retore pointers by name for actual ID ones, and set the others to default NULL value. Also, added clear comment to TSE types that do not store a real ID pointer!
2015-09-09Formatting fix.Sybren A. Stüvel
Reviewed by: Severin
2015-09-09Fix: VSE text strip size was wrong when preview render size != 100%Sybren A. Stüvel
Reviewed by: sergei
2015-09-09Fix (unreported) Outliner letting you edit path of indirect linked lib shown ↵Bastien Montagne
at 'first level'. From Gooseberry team request indirect libs were also added at root of 'BlendFile' Outliner view, but that allowed edition of their path, which is useless...
2015-09-09Fix crash in preview render w/ too small borderCampbell Barton
2015-09-09Fix T46056: User Preferences-> install from File freezes Blender.Bastien Montagne
Own stupid error in recent fix for buffer overflow in `BLI_testextensie_glob()`... Also found & fixed another potential buffer overflow in this func.
2015-09-09Assert CustomData_from_bmeshpoly is used correctlyCampbell Barton
Follow up to last commit, since bugs here aren't so obvious.
2015-09-09Fix T45733: Crash w/ VColor + BlenderInternalCampbell Barton
Tessface CustomData layers were added multiple times when tangents were used. This made BI crash accessing layers missing elsewhere.
2015-09-08Error in last commitCampbell Barton
Had warnings disabled.
2015-09-08Fix T46003: Scale w/ script ignores axis-alignCampbell Barton
2015-09-08Revert "Fix T45191 Speed strip behaviour not easy to predict."Campbell Barton
This reverts commit 0e83b0854fc66af16dd187759c031e530ecd4c05. Fixes T46038
2015-09-08typo in last commitCampbell Barton
2015-09-08Fix T45771: Walk mode fails on OSXCampbell Barton
2015-09-07Fix beautiful textbook case of string overflow in `BLI_testextensie_glob`...Bastien Montagne
2015-09-07Fix T46029. Center ngon in bevel got no attributes or interpolation data.Howard Trickey
2015-09-07Fix T46032: Crash w/ file-browser previewCampbell Barton
2015-09-07Cleanup: gpu constants weren't so clearly arrangedCampbell Barton
Also reminder to update docs w/ the API.
2015-09-06Fix viewport camera dof object distanceCampbell Barton
Also use simpler method to calculate the depth.
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-09-05Fix T45944: Ctrl+Wheel to cycle values failes in toolshelfJulian Eisel
Now, ctrl+wheel for cycling tabs is passed to hovered button if it supports cycling values (RNA menus, color/row/number/slider buttons, list boxes) This might feel a bit glitchy if ctrl+wheel is used to cycle tabs and in newly opened tab, a button with cycling support is under the mouse, which will get mouse input from this point on instead of region. Think this is still better than old behavior.
2015-09-05Depsgraph: Don't use legacy function when building without legacy depsgraphSergey Sharybin
2015-09-05Fix T45938: Ocean modifier animation not working with NLA action-strip (old ↵Joshua Leung
depsgraph only) When a modifier was animated by a NLA strip, this animation was not working when using the old depsgraph. This was because the code which checks if a NLA strip affects any modifiers was missing - specifically, it was originally left out as it was thought that it was unlikely that many users would need this, but adding in those checks would have a (slight) negative effect files where there are heaps of NLA strips but modifiers animated this way were absent. The new depsgraph however doesn't suffer from this problem, as these sorts of checks need ot be built into the graph-building stage for everything to work, so these links had already been added.
2015-09-05Math Lib: isect_plane_*_v3 avoid negationCampbell Barton
Unmeasurable speedup for plane intersection.
2015-09-05Math Lib: simplify isect_plane_plane_v3Campbell Barton
Unlike the 3 plane method, the 2 planes squared cross-product _is_ the determinant.
2015-09-04Fix T46015: normals_split_custom_set_from_vertices doesn't work with zero ↵Bastien Montagne
vectors This was simply broken for vertex case (indexing loop normals with vert indices...). Turns out to be rather verbose to replace on-the-fly zero normals by default ones correctly, and do not want to make a full copy of the given custom normals array, so now this one is editied in place (replacing zero vectors by correct default normals). Don't think this could be a serious issue anyway.
2015-09-04Fix T46010: Bone offset between Rest Pose and Edit mode.Bastien Montagne
That one was hairy... To summarize: * We were setting Bone.head/tail (aka **local** rest location of bone) from EditBone data, using **EditBone's parent computed armature space**. * We use those local head/tail to define Bone's restpose (in `BKE_armature_where_is_bone()`), using **Bone's parent armature space** (aka parent's arm_mat). * Because of bone's roll nightmare, the two above parent's matrices will often not be the same. In an ideal world, this should not affect locations (head/tail), but in real world of float it does - noticeably, in some extreme cases. So! This commit cleans up things a bit (`fix_bonelist_roll()` was already doing much more than just fixing roll mess, has been renamed to `armature_finalize_restpose()`), and ensures we do use (final!) parent's arm_mat local space to compute children's local head/tail as well. This allows us to avoid too much imprecision here. Checked the patch also with a complete Victor's rig from Gooseberry, seems to have no nasty side effects - fingers crossed!
2015-09-04Cleanup: Better to assert over bad condition (which shall never happen ↵Bastien Montagne
anyway), than just return with un-initialized mat...