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
2018-02-23Cycles: add Principled Volume shader.Brecht Van Lommel
Similar to the Principled BSDF, this should make it easier to set up volume materials. Smoke and fire can be rendererd with just a single principled volume node, the appropriate attributes will be used when available. The node also works for simpler homogeneous volumes like water or mist. Differential Revision: https://developer.blender.org/D3033
2018-02-23Smoke: change default flame temperatures to match OpenGL preview.Brecht Van Lommel
2018-02-23Cleanup: header guards & styleCampbell Barton
2018-02-22Cleanup: Fix const pointers mess in previous commit.Bastien Montagne
2018-02-22Fix (unreported) meshes changing shading when creating empty clnors data.Bastien Montagne
When you were using autosmooth to generate some custom normals, and created empty custom loop normal data, you would go back to an 'all smooth' shading, cancelling some sharp edges generated by the mesh's smooth threshold. Now we will first tag such edges as sharp, such that shading remains the same. This is not crucial in current master, but it is for clnors editing gsoc branch!
2018-02-22Cleanup: clnor code: more 'do not use same varname for two different things'.Bastien Montagne
2018-02-22Depsgraph: Remove unused argumentSergey Sharybin
2018-02-22Depsgraph: Remove unused bmain from modifiers relations update contextSergey Sharybin
2018-02-22Depsgraph: Wrap all arguments foe modifiers relations update into a structSergey Sharybin
Makes it easier to add or remove fields needed to update relations.
2018-02-21bezt_add_to_cfra_elem() - Use same keyframe equality test as in other placesJoshua Leung
This shouldn't affect anything currently, as this function doesn't appear to get used anywhere.
2018-02-21Depsgraph: Split debug flagsSergey Sharybin
Now it's possible to have debug messages for following things: - Graph construction - Graph evaluation - Graph tagging
2018-02-21Depsgraph: Fix crash using --debug-depsgraph and --debug-depsgraph-no-threadsSergey Sharybin
Was accessing past the array boundaries. Should be safe for 2.79a.
2018-02-21VSE: skip non image/movie w/ proxy dir storageCampbell Barton
This would use uninitialized filename variable, looked into supporting this however generating proxies currently only works for movies.
2018-02-20Cleanup: split normals: use different varnames for angle and its cosine.Bastien Montagne
Using same name for two different things is not the best idea ever...
2018-02-20Fix T54069: Vertex groups for hair length is wrong in some casesSergey Sharybin
This is a regression in rB4f1c0a1 which only allowed cutting haior at the second segment only, while there is nothing wrong with cutting hair at the first segmewnt.
2018-02-19Fix T54096: Subdivision Surface + Boolean Modifiers + Transform = crashSergey Sharybin
Don't use dm->get*Array for DM you don't own. This call can allocate temporary CD layer, which is not thread safe at all. Also removed hard-coded logic around CDDM check. new functions will do same logic, but are mode DM-type-=independent.
2018-02-19Fix T53032: Image sequence works bad with Displace modifierSergey Sharybin
We shouldn't mix image pool acuisition with and without user provided, the fact that internally image.c uses last frame from Image datablock confuses the logic.
2018-02-19Fix T54098: Crash existing /w dyntopo sculptCampbell Barton
Optionally don't remap indices for objects. Checking all objects parent's would reference a freed pointer while freeing all objects. In the case of dynamic topology there is no use in keeping track of hook/vertex-parent indices. Also disable this when creating meshes for undo storage since adding an undo step shouldn't be modifying other objects.
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Fix crash reading deg_point_cache_transform.blend test, saved with 2.8.Brecht Van Lommel
In general 2.8 files may not be readable in master, but might as well fix this case so all the lib/tests can be opened still.
2018-02-15Cleanup: Remove debug-only codeSergey Sharybin
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-15Simple hair children: Make twist affected by textureSergey Sharybin
This completes twist feature, which is now possible to also control by texture. Since textures can not easily contain negative values as well, same trick with 0.5 neutral as vertex groups is used. All in all, this twist features allows to do following things. Original hair: {F2287535} Hair with scientifically calculated twist value of 0.5: {F2287540} And we can also twist braids in opposite directions dependent on left/right side: {F2287548}
2018-02-15Fix T54078: Adding subsurf prior to particle system breaks simple children ↵Sergey Sharybin
vgroups and textures cpa->num points to a face index on BASE mesh, but get_child_modifier_parameters() expects index on a FINAL dm. So wrong index was used here.
2018-02-15Simple hair children: Make twist affected by vertex groupSergey Sharybin
The idea is to give a control over direction of twist, and maybe amount of twist as well. More concrete example: make braids on left and right side of character head to be twisting opposite directions. Now, tricky part: we need some negative values to flip direction, but weights can not be negative. So we use same trick as displacement map and tangent normal maps, where 0.5 is neutral, values below 0.5 are considered negative and values above 0.5 are considered positive.
2018-02-15Simple hair children: Initial implementation of twist controlSergey Sharybin
It allows to have children hair to be twisted around parent curve, which is quite an essential feature when creating hair braids. There are currently two controls: - Number of turns around parent children. - Influence curve, which allows to modify "twistness" along the strand.
2018-02-15Particles: Wrap insane amount of arguments to child modifier evaluationSergey Sharybin
Use single structure. It seems we will need to pass more information soon, so better to do it via the structure.
2018-02-15Cleanup: styleCampbell Barton
2018-02-14Particles: Avoid multiple function declarations in multiple placesSergey Sharybin
This makes it really hard to spot errors when function signature changes.
2018-02-14Particles: Cleanup, remove trailign whitespaceSergey Sharybin
2018-02-14Hair child: Use clamp function to clamp curve evaluationSergey Sharybin
Avoids redundant calls to the curve evaluation.
2018-02-12BKE_addon: new/free/ensure functionsCampbell Barton
2018-02-09Fix crash with font on curveSergey Sharybin
Was a mistake from recent texspace changes. Reported by Pablo here in the studio!
2018-02-08Mesh: concave quad supportCampbell Barton
Previously quads always split along first-third vertices. This is still the default, to avoid flickering with animated deformation however concave quads that would create two opposing triangles now use second-fourth split. Reported as T53999 although this issue has been known limitation for a long time.
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2018-02-06Use eObjectMode for function argumentsCampbell Barton
2018-02-05Fix T53986: Crash saving during sculpt strokeCampbell Barton
Also remove unused struct member.
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-02-02Fix T53980: IK influencing REST POSE with New DepsgraphSergey Sharybin
2018-02-01Fix T53686: VSE Render crash when zooming timeline.Bastien Montagne
Epic fail from recent 'security' fixes (rBe04d7c49dca9). ;) To be backported to 2.79a!
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
2018-01-31Fix possible concurency issue in mesh normals computation.Bastien Montagne
Failure in own code from last December, thanks @sergey for finding it. To be backported to 2.79a.
2018-01-30Fix T53943: Weight paint crash in new sceneCampbell Barton
2018-01-29Fix: Disable leftover debug prints from earlier work on the rna path ↵Joshua Leung
renaming/fixing code
2018-01-28Cleanup: style, spellingCampbell Barton
2018-01-25Fix T53363: Blender won't update mesh's usercount when deleting object ↵Bastien Montagne
datablocks in Editmode. Only do special handling of ob->data pointer in case we are remapping to a valid (non-NULL) other obdata. Otherwise, handle it as any other 'remapping to NULL' case. Hopefully not breaking anything else...
2018-01-25UI: change tool-tips to be stored in the screenCampbell Barton
Move timer and tip out of button code, now the only requests a tooltip, passing a creation callback to run. Needed for manipulators in 2.8, also helps de-duplicate logic - since we never want multiple tool-tips showing at once.
2018-01-25Cleanup: correct ATTR_NONNULL useCampbell Barton
2018-01-24Fix (unreported) missing feature in ccgdm pbvh generator.Bastien Montagne
Compared to usual cddm one, ccgdm one was not applying the ob->derivedDeform deformation to the pbvh generated from the original mesh geometry, when possible.