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-12-12Cleanup: bad (harmless) usage of PARM_PYFUNC_OPTIONAL in new ID.make_local ↵Bastien Montagne
RNA definition. PARM_PYFUNC_OPTIONAL is only useful in definition of callbacks for registrable types...
2016-12-12Fix (unreported) some RNA func definitions setting flags of other func ↵Bastien Montagne
parameters! Both found cases where luckily harmless, though...
2016-12-12Refactor RNA property: split flags in property flags, parameter flags, and ↵Bastien Montagne
internal flags. This gives us 9 flags available again for properties (we had none anymore), and also makes things slightly cleaner. To simplify (and make more clear the differences between mere properties and function parameters), also added RNA_def_parameter_flags function (and its clear counterpart), to be used instead of RNA_def_property_flag for function parameters. This patch is also a big cleanup (some RNA function definitions were still using 'prop' PropertyRNA pointer, etc.). And yes, am aware this will be annoying for all branches, but we really need to get new flags available for properties (will need at least one for override, etc.). Reviewers: sergey, Severin Subscribers: dfelinto, brecht Differential Revision: https://developer.blender.org/D2400
2016-12-12Cleanup: Get rid of unused BKE_rigidbody_relink_constraint().Bastien Montagne
Also use proper ID_NEW_REMAP macro in BKE_rigidbody_world_groups_relink()!
2016-12-12Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.hBastien Montagne
Was a waaaaayyyyy to much generic name for such a specific func, renamed to much more descriptive BKE_libblock_relink_to_newid(). In near future (few weeks, to limit as much as possible silent mismatch in branches), will rename BKE_libblock_relink_ex to BKE_libblock_relink, this is the real generic data-block relinking func!
2016-12-12Cleanup: Get rid of ntreeSwitchID(_ex) functions, use generic ↵Bastien Montagne
BKE_libblock_relink_ex instead.
2016-12-12Cycles: Cleanup, variable namesSergey Sharybin
Use underscore again and also solve confusing part then in BVH smae thing is called prim_addr but in intersection funcitons it was called triAddr.
2016-12-12Cycles: Cleanup, variables namesSergey Sharybin
Use underscore instead of camel case.
2016-12-09Added --debug-io flag to command lineGaia Clary
2016-12-09Land D2339 by bliblu blilazydodo
2016-12-09Depsgraph: Add missing relation for cast modifierSergey Sharybin
When control object is used we need to known our own transformation as well.
2016-12-09Depsgraph: Bone parent should also include armature transform relationSergey Sharybin
It is required to have world-space bone position, which consists of armature object transform and local bone transform.
2016-12-08Fix emissive volumes generates unexpected fireflies around intersectionsSergey Sharybin
Discard the whole volume stack on the last bounce (but keep world volume if present). Volumes are expected to be closed manifol meshes, meaning if ray entered the volume there should be an intersection event of ray exisintg the volume. Case when ray hit nothing and there are still non-world volumes in the stack can happen in either of cases. 1. Mesh is not closed manifold. Such configurations are not really supported anyway and should not be used. Previous code would have consider the infinite length of the ray to sample across, so render result wasn't really correct anyway. 2. Exit intersection is more far away than the camera far clip distance. This case also will behave differently now, but previously it wasn't really correct either, so it's not like we're breaking something which was working as expected. 3. We missed exit event due to intersection precision issues. This is exact the case which this patch fixes and avoid fireflies. 4. Volume has Camera only visibility (all the rest visibility is set to off) This is what could be considered a regression but could be solved quite easily by checking volume stack's objects flags and keep entries which doesn't have Volume Scatter visibility (or even better: ensure Volume Scatter visibility for objects with volume closure), Fixes T46108: Cycles - Overlapping emissive volumes generates unexpected bright hotspots around the intersection Also fixes fireflies appearing on the edges of cube with emissive volue. Reviewers: juicyfruit, brecht Reviewed By: brecht Maniphest Tasks: T46108 Differential Revision: https://developer.blender.org/D2212
2016-12-08Fix T49872: 3D cursor places with camera shift in ortographic modeJulian Eisel
2016-12-08Fix expanding enum property in sub-layout of pie menusJulian Eisel
//ui_item_enum_expand// function replaces all pie menu's sub-layouts with radial layout. It should replace only root layout. To reproduce the issue paste the code in Blender's text editor and press Run Script button. ``` import bpy class VIEW3D_PIE_template(bpy.types.Menu): bl_label = "Select Mode" def draw(self, context): layout = self.layout.menu_pie() layout.column().prop( context.scene.render.image_settings, "color_mode", expand=True) def register(): bpy.utils.register_class(VIEW3D_PIE_template) def unregister(): bpy.utils.unregister_class(VIEW3D_PIE_template) if __name__ == "__main__": register() bpy.ops.wm.call_menu_pie(name="VIEW3D_PIE_template") ``` Differential Revision: https://developer.blender.org/D2394 by @raa
2016-12-08Fix crash when opening a Blender file containing Alembic data.Kévin Dietrich
Was also affecting object linking.
2016-12-07Fix install_deps.sh failing to build ffmpeg 3.Bastien Montagne
--disable-libfaac is no more ffmpeg build option.
2016-12-07Fix (unreported) Sequencer Drop effect: wrong initial offset in second input ↵Bastien Montagne
buffer. Reading rest of the code, it's obvious we want to start à YOFF lines from start of rect2i, so we have to also multiply by number of components. Also did some minor cleanup.
2016-12-07Fix T49893: Crash in Video Sequence Editor with 'drop' effect.Bastien Montagne
Code was not accounting for possibilities that width or height of given buffers may be smaller than XOFF/YOFF... Note that I seriously doubt that drop code actually works (as in, gives expected results) when applied to tiles like it seems to be done currently, but this is much more complex (and involved) topic.
2016-12-07Remove unused include statementSergey Sharybin
2016-12-07Use proper defaults for Hue/Saturation nodeSergey Sharybin
2016-12-06Cycles :Cleanup, indentationSergey Sharybin
2016-12-06Depsgraph: Only re-schedule objects which are on visible layersSergey Sharybin
Otherwise it's possible to cause infinite update loop in Cycles viewport. Gets a bit messy logic, need to revisit this..
2016-12-06Fix T50122: SEGFAULT: OCIO configuration typo leads to segfaultSergey Sharybin
2016-12-06Fix T50003, Bevel makes non-manifold mesh.Howard Trickey
Problem was setting prev/next faces for edges around a vertex on valence-2 vertices.
2016-12-06Fix T50020: adding a background image does not set image user data.Kévin Dietrich
2016-12-06UI: add a message to indicate when using a modifier that wasn'tKévin Dietrich
compiled. This adds a short message to the smoke, remesh and boolean modifiers' UI when trying to use them when their compilation was turned off. This was already implemented for the fluid and ocean simulation modifiers. This also makes the 'quick fluid' and 'quick smoke' operator abort and report when trying to use them when unavailable.
2016-12-05Depsgraph: Use HIGH priority for scheduled tasksSergey Sharybin
This kind of keeps threads "warmer" and should in theory give better cache coherency bringing some %% of speedup. It was already tested few months ago and it gave few % speedup in barber shop, but was reverted due to some bone popping. The popping is now fixed so it should be fine to use new scheduling policy.
2016-12-05Depsgraph: avoid more transitive relations for rigid body simulationSergey Sharybin
2016-12-05Depsgraph: Rigid body simulation doesn't need explicit time relationSergey Sharybin
It'll be dependent on time via Time Source -> Rebuild RB World chain.
2016-12-05Depsgraph: Avoid transitive relation from local transform to finalSergey Sharybin
There is always an uber eval node on the way. so we can avoid creating some relations here in order to speed up both construction time and evaluation.
2016-12-05Fix depsgraph: hair collision is actually enabled, so add the relations.Alexander Gavrilov
2016-12-05Fix compilation error on recent Debian desktopSergey Sharybin
Something funny happened here, there were missing symbols from png library to math functions.
2016-12-04Fix T50141: Nabla zero division on texture force fieldLuca Rood
This sets forces to zero, when Nabla is zero and a grayscale texture is used or texture mode is Gradient or Curl. Nabla equal to zero was causing a zero division, and forces ended up being set to `nan`. Reviewed By: mont29 Differential Revision: http://developer.blender.org/D2393
2016-12-04CMake: disable QuickTime with macOS SDK 10.12+, no longer supported by Apple.Brecht Van Lommel
2016-12-04Fix macOS 10.9 build when using OIIO without FFmpeg.Brecht Van Lommel
2016-12-04Docs: Show 'Other Options' last in --helpCampbell Barton
Own error when changing order, moving experimental features last made some sense, but causes them to be listed twice. Reorder and comment to avoid it happening again.
2016-12-04Cleanup: simplify bitmap line drawingCampbell Barton
- Expand overly dense & confusing delta assignments. - Replace bit shift with multiply. Also link to 'clipped' version of this function which may be useful to add later.
2016-12-04[msvc] Changes for new oiio/ffmpeg versions.lazydodo
2016-12-03CMake: update for macOS 10.9 libs with ffmpeg 3.2.1 and webp support.Brecht Van Lommel
2016-12-03Fix macOS build with openimageio 1.7.8 and openexr.Brecht Van Lommel
These macros conflict and are no longer needed with C99 or C++ anyway.
2016-12-03Cycles: Refactor Progress system to provide better estimatesLukas Stockner
The Progress system in Cycles had two limitations so far: - It just counted tiles, but ignored their size. For example, when rendering a 600x500 image with 512x512 tiles, the right 88x500 tile would count for 50% of the progress, although it only covers 15% of the image. - Scene update time was incorrectly counted as rendering time - therefore, the remaining time started very long and gradually decreased. This patch fixes both problems: First of all, the Progress now has a function to ignore time spans, and that is used to ignore scene update time. The larger change is the tile size: Instead of counting samples per tile, so that the final value is num_samples*num_tiles, the code now counts every sample for every pixel, so that the final value is num_samples*num_pixels. Along with that, some unused variables were removed from the Progress and Session classes. Reviewers: brecht, sergey, #cycles Subscribers: brecht, candreacchio, sergey Differential Revision: https://developer.blender.org/D2214
2016-12-02OCIO: Implement exposure/gamma for fallback implementationSergey Sharybin
Quite handy for debugging. Unfortunately, this doesn't support viewport tweaks yet since those require GLSL for colorspace conversion. Maybe this will be implemented as well one day in the future..
2016-12-02Cycles: Implement AVX2 path for curve intersection functionsSergey Sharybin
Gives little performance improvement on Linux and gives up to 2% speedup on koro.blend on Windows. Inspired by Maxym Dmytrychenko, thanks!
2016-12-02Cycles: Add AVX intrinsics helpersSergey Sharybin
They are defined for MSVC but seems to be missing in GCC and CLang-3.8. Maybe some further tweaks to policy when to define those functions is needed, but should be fine for now.
2016-12-02Fix T50062: Mask - Clicking in ActivePoint Parent makes Blender crash.Bastien Montagne
Mask primitive adding code was not initializing correctly id_type of points' parents.
2016-12-02Cycles: Disable AVX2 crash workaroundsSergey Sharybin
I can no longer reproduce crash with neither of the files where the crash was originally visible. This is something where other changes (light threshold, sampling) had an effect and made code to work as it is supposed to. Could have been optimizator issue or something like that. Let's see if we hit same issue again.
2016-12-02Fix (unreported) memleak in ImBuf mipmap code in some cases.Bastien Montagne
`IMB_remakemipmap` may 'shrink' the mipmap list without actually freeing anything, so we need to check all possible levels in `imb_freemipmapImBuf` to avoid memory leaks, not only those currently used.
2016-12-01install_deps.sh: Update official (default) lib versions of ↵Bastien Montagne
py/oiio/osl/osd/ffmpeg.
2016-12-01Fix (unreported) looptri array not being recalculated in ccgDM and emDMLuca Rood
In ccgDM and emDM, looptri array recalculation was being handled directly by `*DM_getLoopTriArray` (`getLoopTriArray` callback), while `*DM_recalcLoopTri` (`recalcLoopTri` callback) was doing nothing. This results in the array not being recalculated when other functions that depend on the array data called the recalc function. This moves all the recalculation code to `*DM_recalcLoopTri` and makes `*DM_getLoopTriArray` call that. This commit also makes a minor change to the `getNumLoopTri` function, so that it returns the correct number without having to recalculate the looptri array. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2375