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
path: root/source
AgeCommit message (Collapse)Author
2017-01-12Add Add Modifiers tab to the NLA & VSE editorsAaron Carlisle
This is a follow up to rBca935ab Differential Revision: https://developer.blender.org/D2442
2017-01-12Fix T50056: Dyntopo brush size shortcut broken using constant detail setting.Julian Eisel
2017-01-12UI: Try limiting 'x' icon to search buttonsJulian Eisel
Reusing PROP_TEXTEDIT_UPDATE instead of adding a new property flag just for search strings. Currently it's only used for search strings anyway so seems fine for now. Fixes T50336.
2017-01-11Split interp_weights_face_v3 into specific functions for tris and quadsLuca Rood
This splits `interp_weights_face_v3` into `interp_weights_tri_v3` and `interp_weights_quad_v3`, in order to properly handle three sided polygons without needing a useless extra index in your weight array. This also improves clarity and consistency with other math_geom functions, thus reducing potential future errors. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2461
2017-01-11Viewport SSAO: Fix normals not normalizedClément Foucault
2017-01-11Copy autosmooth mesh settings BKE_mesh_new_from_objectSergey Sharybin
This way render engine can first apply all modifiers on the new mesh and then optionally perform autosmooth face splitting on it.
2017-01-11RNA: Expose autosmooth face splittingSergey Sharybin
This way render engine can request mesh to be auto-split and not worry about implementing this functionality on it's own. Please note that this split is to be performed prior to tessellation.
2017-01-11Cleanup: Use more meaningful constants other than 0Sergey Sharybin
2017-01-11Add mid_v3_v3_array function and remove redundant functionsLuca Rood
Other than implementing a `mid_v3_v3_array` function, this removes `cent_tri_v3` and `cent_quad_v3` in favor of `mid_v3_v3v3v3` and `mid_v3_v3v3v3v3` respectively. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2459
2017-01-10UI Layout: fix some cases mixing fixed and expandable sizesBastien Montagne
When layout has only small buttons (buttons with icon and without label) its size should be fixed. Code was modified to be able to add a new UI_ITEM_MIN flag which indicates that the layout has only small fixed-width buttons. Patch by @raa, with minor style edits by @mont29. Reviewers: Severin, mont29 Reviewed By: mont29 Tags: #bf_blender, #user_interface Differential Revision: https://developer.blender.org/D2423
2017-01-09Cleanup: Don't use C++ comments style in C codeSergey Sharybin
2017-01-09Fix for T50373: lattices should not be able to get subsurf modifiersPhilipp Oeser
Reviewers: mont29 Reviewed By: mont29 Subscribers: sergey Differential Revision: https://developer.blender.org/D2449
2017-01-09Fix T50385: Deadlock in BKE_libblock_remap_locked.Bastien Montagne
Am pretty sure node update should not touch to Main database like that, but for now let's allow it, I guess the hack is needed for things like Sverchok. ;)
2017-01-06Fix: Audio plays back incorrectly after rendering to a video fileJörg Müller
D2365
2017-01-05Show 'Manipulate Center Points' in weight paint modeJulian Eisel
If the active object is in weight paint mode, but some armatures in pose mode, 'manipulate center points' still affects the transformation. See bd2034a749a9a9. Also removed redundant check, we basically did the same check for paint modes twice.
2017-01-04Dynamic Paint: Fix random pixel flooding by absolute brush with spread.Alexander Gavrilov
If a very low wetness absolute alpha brush is used with spread and drying effects enabled, some pixels will rapidly accumulate paint. This happens because paint drying code applies a minimal wetness threshold that causes the paint to instantly dry out. Specifically, every frame the brush adds paint at the specified absolute alpha and wetness set to the minimal threshold, spread drops it below threshold, and finally drying moves all paint to the dry layer. This drastically accelerates the rate of flow of paint into the affected pixels. Fortunately, the reason paint spread actually ends up decreasing wetness turns out to be a simple floating point precision problem, which can be easily fixed by restructuring the affected expression.
2017-01-04Fix (IRC reported) bad handling of Text data-block user count.Bastien Montagne
Reported on IRC by dfelinto, thanks. Root of the issue was that opening a new text file would create datablock with one user, when Text editor is actually a 'user one' user. This was leaving Text datablocks in inconsitent user count, and generating asserts in BKE_library area. Also changed a weird piece of code related to that extra user thing in main remapping func.
2017-01-04Fix T50369: Objects can't be deleted from scene when using "link group ↵Bastien Montagne
objects to scene" Main issue here was that in old usercount system 'user_real' did simply not allow that kind of thing to work. With new pait of 'USER_EXTRA' tags, it becomes possible to handle the case correctly, by merely refining checks about indirectly use objects whene removing them from a scene. Incidently, found another related bug, 'link group objects to scene' was not incrementing objects' usercount - bad, very very bad!
2017-01-03Fix implicit size_t to int conversion.Bastien Montagne
Seems like it was erroring on some buildbots...
2017-01-03Fix: NLA "Strip Time" setting cannot be editedJoshua Leung
This is a hacky fix for a regression introduced sometime after 2.76. The "Strip Time" setting on NLA Strips could not be edited without the value immediately jumping back to the current FCurve value (or 0.0 if no keyframes existed); even enabling autokey wouldn't let you key the property. Until we have proper overrides (that only lose their values on frame change), it's best that this setting is editable, even if it does mean it you have to manually change the frame to see the updated values.
2017-01-02GPencil: Per-layer option to always show onion skinningJoshua Leung
Sometimes it can be useful to be able to keep onion skins visible in the OpenGL renders and/or when doing animation playback. In particular, there are two use cases where this is quite useful: 1) For creating a cheap motion-blur effect, especially when the before/after values are also animated. 2) If you've animated a shot with onion skinning enabled, the poses may end up looking odd if the ghosts are not shown (as you may have been accounting for the ghosts when making the compositions). This option can be found as the small "camera" toggle between the "Use Onion Skinning" and "Use Custom Colors" options.
2017-01-02Fix: Passed wrong last argument to functionJoshua Leung
2017-01-02Fix T49861: Interlace stereo is broken in 2.78Dalai Felinto
This is a regression introduced in rB5bd9e832 It looks more like a hack than a proper fix, but the shader logic changed a lot for blender2.8, so I would rather do the elegant fix there, while leaving master working. If we ever do a 2.78b (or 2.79) this should get in.
2017-01-02Cleanup: redundant assignment in rect resizeCampbell Barton
2017-01-01Fix T50305: When adding new ID with same name as existing, Blender could ↵Bastien Montagne
generate invalid utf-8 ID name. `check_for_dupid()` would roughly truncate existing name, without doing any utf-8 validation.
2017-01-01Fix (unreported) fully broken 'sanitize utf-8' helper.Bastien Montagne
That code was a joke, letting some invalid utf8 bytes pass, returning wrong offset for some invalid sequences, not to mention length and pointer easily going out of sync, NULL final byte being 'forgotten' by memcpy, etc. etc. The miracle here is that we could survive using this for so long! Probably because we do not use utf-8 sanitizing enough in Blender, actually... :/
2016-12-29Add new operator, ED_OT_undo_redo, to allow py tools to trigger that action.Bastien Montagne
Patch D2430 by @raa, thanks.
2016-12-29Fix T50334: Also select indirectly imported objects when linking/appending.Bastien Montagne
Since we create a base and instantiate them, they become directly linked, so makes sense to also select them if requested.
2016-12-29Freestyle: fix typo in console message.Bastien Montagne
Patch D2270 by Anthony Edlin (@krash), thanks.
2016-12-29Edits to user prefs NDOF UIAaron Carlisle
Small changes: - Remove "NDOF" from each setting - Change tooltip for deadzone - Unrelated typo in cmake comment Reviewers: merwin, Severin Reviewed By: merwin, Severin Tags: #bf_blender, #user_interface Differential Revision: https://developer.blender.org/D2319
2016-12-28Fix T49848: bevel of spiral gets bigger and bigger widths.Howard Trickey
This is the same issue as was fixed with T39486: the adjustment pass that tries to equalize different widths at either end of an edge sometimes causes the widths to get bigger and bigger. The previous fix was to let "clamp_overlap" do double duty as a way to limit this behavior. But clearly this is undiscoverable, as the current bug report shows. So I put in an "auto-limiting" mode that detects when adjustments are going crazy and then acts as if clamp_overlap were set. The reason we can't always act as if clamp_overlap is set is that certain models (e.g., Bent_test in regression tests) look bad if that is enabled.
2016-12-28UI: Make icon-only buttons for enum items with empty label.Bastien Montagne
Patch D2420 by @raa, thanks.
2016-12-28Various UI message and API doc tweaks and fixes.Bastien Montagne
Mostly from patch D2256 by Aaron Carlisle (@Blendify), thanks!
2016-12-28Minor UI message fix.Bastien Montagne
Based on D2436 by @blendify, thanks.
2016-12-28Also apply similar fixes to .keyframe_delete()Joshua Leung
- T49816
2016-12-28Fix T49816: Keyframing NLA Strip influence from Python set keyframes in the ↵Joshua Leung
wrong place
2016-12-28Fix T50184: Grease Pencil Layer synchronization between Dope Sheet and ↵Joshua Leung
Properties panel
2016-12-28Fix T49479: Freestyle inconsistent line drawing with large geometry dimension.Tamito Kajiyama
Ray-plane intersection routine GeomUtils::intersectRayPlane() was used with an unnormalized direction vector as input.
2016-12-283D View roll & orbit were scaling view-quat lengthCampbell Barton
Over time roll and orbit would scale the quaternion which is documented as unit length. In practice any errors would be subtle, but better normalize as other operators do.
2016-12-28Comments: mul_project_m4_v3_zfacCampbell Barton
2016-12-27Fix T50240: Rendering crashes when synced to JACK TransportJörg Müller
Disabling synchronization while rendering. Using G.is_rendering as suggested by bastien. ;-)
2016-12-27Fix T50305: Blender truncates a long multibyte character object's name to an ↵Bastien Montagne
invalid utf-8 string. Add logic in RNA to ensure we pass valid utf8 string to BKE ID new functions...
2016-12-27Comments: hints for perspective functionsCampbell Barton
Note which GL functions these are equivalent to.
2016-12-27Correct bad cast, unused var warningCampbell Barton
2016-12-23Fix (unreported) crash in 'Match movie length operator' in case of lost ↵Alexander Romanov
video texture file
2016-12-23Readfile: Resurrect do_versions_after_liblink.Bastien Montagne
Basic idea is to store fileversion in Library datablock, and split again Main by libraries after lib linking, do_versions_after_liblink on those separated Mains, and merge again. This allows to still have correct versions for each data-block in that second do_versions step. Note that this is not used currently in master (might be soon, though), but is needed for 2.8 work.
2016-12-23Fix (unreported) `--threads` option no more respected by main task scheduler.Bastien Montagne
Main scheduler would be created way before `-t` argument would be parsed, since it was on forth pass! Moved it to first pass of argparse, that kind of stuff should be initialized asap on startup.
2016-12-22Fix wrong return type in blenderplayer stubsJulian Eisel
2016-12-20Fix strict compiler warning in generated C++ RNASergey Sharybin
2016-12-20String drawing function for the "simdebug" utilities.Lukas Tönne
Simple string drawing API for debug drawing, in addition to basic primitives.