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-03-05Fix for missing update changing VFont.filepathCampbell Barton
Changing the filepath wouldn't reload the font even after calling scene.update().
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-03-05Cleanup: unnecessary comma useCampbell Barton
Also use SWAP macro
2016-03-05Cleanup: unnecessary comma useCampbell Barton
2016-03-04Alternate fix for virtual-pixel update not workingCampbell Barton
On changing, clear drawable window to force update.
2016-03-04Revert "Fix changing virtual pixelsize having no affect if only main window ↵Campbell Barton
is open" This reverts commit fe7bab13439fe6f0181f6661fbf7bb7ae18f5310. Setting correct context is important, but this is setting DPI and widget unit on *every* mouse move.
2016-03-04Fix changing virtual pixelsize having no affect if only main window is openJulian Eisel
Changing virtual pixelsize only had an affect when a second window was open. (Was also possible to trigger update by opening another window.) Steps to reproduce: * Change any editor into user preferences *in main window* * Change virtual pixel size -> nothing happens
2016-03-04Fix menu aliged to right side of screen in UserPref windowJulian Eisel
Only applied in a really few cases actually. To reproduce: * Open User Preferences *in own window* * Search for node wrangler add-on (it's one of the few cases where this happens) * Enable and open details * Click on one of the menues in the add-on preferences Actually this was reproducable in any window, user preference area just had to take up most/all of the width. Note: I'm not totally sure if just disabling these lines is correct, but I didn't find any issues or any information why this was needed. So it seems to be redundant.
2016-03-04Fix T47683: broken BBox logic when drawing duplis.Bastien Montagne
Once a dupli had a valid bbox, that bbox would be used for all following objects without bbox, instead of skipping clipping check. Issue unveiled by rB3fa0a1a5bc0ff2, but not related at all (in fact, bug was present before that commit).
2016-03-04Fix uninitialized memory use lattice-boundboxCampbell Barton
Many other places weren't clearing boundbox dirty flag after calculation.
2016-03-04Cleanup: suspicious use of commasCampbell Barton
2016-03-04Curve/line width change broke outline drawingCampbell Barton
Partially revert e29a5ba6
2016-03-04Docs: include mathutils.interpolateCampbell Barton
2016-03-03Docs: minor comment correctionCampbell Barton
2016-03-03Docs: comment on poly flipping w/ solidifyCampbell Barton
2016-03-03Use IOError exception failing to write blend fileCampbell Barton
2016-03-03Fix T47676, take two: also do some 'regular file' versionning (allows to ↵Bastien Montagne
handle users own default startup files, among others...).
2016-03-03Fix T47676: Broken default values for particle brush strength.Bastien Montagne
Current startup .blend has old (percent?) values for particle brush strength. Since rBe4e21480d6331903c90ab073746484498441e1ac, UI controls do not clamp automatically values anymore, which means when you first enable comb (or any other brush) you get a 50 strength, waaaayyyy to powerful. This commit fixes this in `BLO_update_defaults_startup_blend`, note that it does not fix custom users' startup files, nothing to do here...
2016-03-03Fix T47644: crash (use-after-free) regression from rB7a74738914a66e.Bastien Montagne
Handling `me` data here is not good idea anyway, we override it completly with data from `tmp` (crash came from freeing already existing bb from me, while pointer still existed in tmp). (rediscovered it while working on T47676...). To be backported to 2.77.
2016-03-03Make texture node threadedSergey Sharybin
Quite trivial idea -- just pass tread ID to the texture sampling function. Implemented as a TLS to avoid passing huge amount of extra contexts around. Should be working on all platforms, but compilation test is required. Reviewers: juicyfruit, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1831
2016-03-03Add utility macro to work with thread local storageSergey Sharybin
2016-03-03PyAPI: API for selectively writing data-blocksCampbell Barton
Useful for writing asset-libraries to a file, eg. `bpy.data.libraries.write(filepath, datablocks, relative_remap=False, fake_user=False)`
2016-03-03Refactor BKE_copybuffer for general partial savingCampbell Barton
Move to re-usable BKE_blendfile_write_partial API
2016-03-03Avoid some obvious crashes when running out memory allocating render resultSergey Sharybin
2016-03-03Render Save Buffers: Use proper memory buffer size for a display bufferSergey Sharybin
2016-03-03Cleanup: take Main argument for copyCampbell Barton
2016-03-03Fix RNA property clamp assigning in PythonCampbell Barton
On first assignment the value was clamped, but successive assignments weren't.
2016-03-03Armature edit-mode: Add clear-roll operator, Alt-RCampbell Barton
2016-03-03Increase max-frame to 500,000Campbell Barton
Note that we could increase to 524286 without loosing subframe precision, however this is a round number allowing for longer video export / animations. See T46859 for details.
2016-03-02Correction to own previous rB9c0de0084bfe.Bastien Montagne
'1mm+1m' would fail with original fix, now consuming all alpha chars before checking unit again...
2016-03-02Fix T47661: cm (centimeter) unit breaks m (meter) unit in Metric.Bastien Montagne
`m` unit when used after `cm`/`mm`/etc. ones would get ignored, and the alt version of miles would be used instead. The root of the issue is that, in `unit_find_str`, once we get a 'hit' for a unit, we check it's actual unit (since 'm' would also hit on 'cm', 'mm', etc.). In case that hit is not a valid unit one, we would just return NULL, breaking the cycle of checks over that unit, and hence missing all later usages of it. So now, in case we have an 'invalid unit hit', we immediately retry to find it within remaining string.
2016-03-02Fix crash accessing nodes search menuSergey Sharybin
Was caused by d49985c.
2016-03-02Avoid node tree update tag when changed nodes which are not affecting resultSergey Sharybin
This was we don't have re-compo or viewport re-rendering happening when changing nodes which are not connected to the output at all (for example when adding new nodes or changing settings for unconnected nodes). Only basic operations are covered for now. checks could be added to more tools when needed. Currently it's not fully optimal implementation, but seems to work fast enough. Don't see reliable alternative to that -- keeping tag in the node wouldn't work because of the node groups (which are probably already broken, but should be easy to solve with current approach). So guess it's more matter of optimizing path search from a node to output. Before processing forward let's check whether it's indeed something we want and whether the approach is indeed not fully bad. Reviewers: campbellbarton, mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1765
2016-03-02Fix T47564: Unwrapping the same mesh results in different UVs.Bastien Montagne
Pointers of faces were passed as face keys during parametrizer's face creation. Since those addresses were different for every run, the layout of the faces ended up being different in the internal hash, leading to inconsistent order of their evaluation during LSCM solving, and slightly different UV maps. Solved by simply using faces' indices as key instead, which ensures we always get same results with exact same input data now. Many thanks to Roman Nagornov (RomanN) for raising the issue, investigating it and finding the solution! And thanks to Brecht for quick review too.
2016-03-02Fix T47610: Texture node in compositing nodes does not updateSergey Sharybin
The issue was caused by some code accessing R from a functions which are marked as safe for use from outside of render pipeline. Now those functions are safe(er) for use.
2016-03-02Cleanup: style, and --help editsCampbell Barton
2016-03-02UI: Show categories in operator search popupCampbell Barton
Gives better context especially when operators have generic names.
2016-03-02UI: Add search-create callbackCampbell Barton
Needed to support alternate search UI's, no functional changes.
2016-03-02Fix assert in UI codeCampbell Barton
Dont attempt to clip empty string
2016-03-02Fix T47642: Crash baking w/ cyclesCampbell Barton
2016-03-02Use render path as initial location when saving rendersCampbell Barton
2016-03-02GHash: BLI_ghash_ensure_p_ex now takes a pointer-to-key argCampbell Barton
This is an alternative to passing a copy callback which is some times inconvenient. Instead the caller can write to the key - needed when the key is duplicated memory. Allows for minor optimization in ghash/gset use. Also add BLI_gset_ensure_p_ex
2016-03-01Fix T47635: Texture paint performance regressionCampbell Barton
Flipped bindcode check in D1414 caused projection paint to always do full updates.
2016-03-01Fix T47643: Blender crash. Linked speaker issue.Bastien Montagne
Speaker's localization func would not make direct-linked its used sound datablock...
2016-03-01Fix T47638: Bad auto-smooth value for new meshesSergey Sharybin
Code was using degrees as radians. Still unclear why default cube will have 180 degrees angle, but new meshes 30, but that's kinda separate topic which is to be addressed separately. This is a subject for final 2.77 release.
2016-03-01Fix (unreported) crash when opening a file from splash screen when 'load UI' ↵Bastien Montagne
option is disabled. See rB935e241fa6ea095493 for details of the issue, but first fix caused regression T47632. So for now handling the issue in a localized way, this is not a real solution (since this could happen in other cases), but will do for 2.77. This commit is to be backported to 2.77.
2016-03-01Fix T47632: Revert "Fix (unreported) crash when opening a file from splash ↵Bastien Montagne
screen when 'load UI' option is disabled." This reverts commit 935e241fa6ea095493ade5d5403c9ac55c18d5ef. Issue will be fixed in a more localized way for now (not that nice, since this use-after-free can possibly happen in other places too, but only safe solution for 2.77). This commit is to be backported in 2.77.
2016-03-01Py (addons) i18n: fix memleak, enhance msgid lookup.Bastien Montagne
Probably did not happen yet (since nobody uses addons translations...), but there was an nice memleak during creation of translation ghash in case a same msgid/msgctx would be added more than once. Also, no need to allocate (and free) a temp key each time we lookup a msgid, we can use given const strings directly here!
2016-03-01Edit Mesh: Edge tag toggle when no active path is foundCampbell Barton
User request, this matches 2.6x behavior more closely.
2016-03-01Eyedropper: Reset property on cancel and add enter to confirmJulian Eisel