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
2018-02-15Blenlib: Assert when attempting to rotate point around vector and store ↵Sergey Sharybin
result in the point This isn't supported since there are subsequent reads to all point coordinates after modification started. Probably we need to create a temp copy of point, but that's like extra CPU ticks.
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-15Avoid unnecessary sqrt callsCampbell Barton
2018-02-15Fix crash when rendering particles with cyclesMai Lavelle
view_layer is NULL when the render engine is created, this gets passed around and ends up in this code causing a crash. This should be reverted after the render engine api is updated to set view_layer.
2018-02-15Make particle edit draw mode a noopMai Lavelle
Seems this was just a template, but that template painted everything green. Not sure what this draw mode should do really.
2018-02-15Fix lack of particles updates and disappearing particlesMai Lavelle
The conditionals in particle code are... some sort of madness... I'm not even sure what the correct behavior should be from looking at it. In this case the path cache generation was being skipped in edit mode.
2018-02-15Tag update when using particle edit brushesMai Lavelle
2018-02-15Fix crash with particle cut brush and other brushesMai Lavelle
Why is bedit->data.context NULL?
2018-02-15Start bringing back particle editMai Lavelle
Its kind of broken, but have to start somewhere
2018-02-15Add versioning code to make particles with default size visible againMai Lavelle
Due to changes in draw code particles from old files that may have had a default draw size of 0 will not be visible. Old draw code would check for this and adjust the size, however the unit for draw size has changed from pixels to BU, and it no longer makes sense to have such checks. This patch is to ensure particles from such files remain visible.
2018-02-15Merge branch 'master' into blender2.8Campbell Barton
2018-02-15Cleanup: style, warningCampbell Barton
2018-02-15Cleanup: styleCampbell Barton
2018-02-15Fix T54072: Crash splitting edgesCampbell Barton
2018-02-14Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-14Cycles: restore Particle Info Index for now, keep it next to Random.Brecht Van Lommel
It seems to be useful still in cases where the particle are distributed in a particular order or pattern, to colorize them along with that. This isn't really well defined, but might as well avoid breaking backwards compatibility for now.
2018-02-14Eevee: Fix broken AO and Contact shadows on certain platform.Clément Foucault
This was caused by ce0f70fbd62fc812a2508c27a2f392cde0acbdfa
2018-02-14DRW: Refactor: Less feature duplication with Gwn.Clément Foucault
This removes the need of custom attribs for instancing. Instancing works fully with dynamic batches & Gwn_VertFormat now. This is in prevision of the VAO manager patch.
2018-02-14DRW: Add instance buffer manager.Clément Foucault
This manager allows to distribute existing batches for instancing attributes. This reduce the number of batches creation. Querying a batch is done with a vertex format. This format should be static so that it's pointer never changes (because we are using this pointer as identifier [we don't want to check the full format that would be too slow]). This might make the original Instance Data manager useless but it's currently used by DRW_object_engine_data_ensure().
2018-02-14GWN: Add new dynamic type of batches and removeClément Foucault
Theses batches keeps their memory chuck allocated after transfer to be reused and updated very often. NOTE: This commit break instancing in DRW. (it's fixed in the next commit)
2018-02-14DRW: Refactor: Make use of the new Gawain long attrib support.Clément Foucault
2018-02-14Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-14Cycles: change Index output of Hair and Particle Info to Random, in 0..1 range.Brecht Van Lommel
These are used for randomization, so it's convenient if the index is already hashed and consistent with the Object Info node.
2018-02-14GPU: use alpha blend that works for drawing to transparent buffer.Brecht Van Lommel
It's unlikely to ever be intentional to square the source alpha, as happens with glBlendFunc, so this changes the blending throughout the code.
2018-02-14GPU: don't use multisample for entire window, only for offscreen 3D viewport.Brecht Van Lommel
Now that the new 3D viewport draws to a multisample offscreen buffer, there is no good reason anymore to create an entire multisample window and pay the performance/memory cost for other regions that don't need it. GL_MULTISAMPLE now only gets enabled for offscreen buffers, so we don't need to check for it throughout the UI code anymore. Differential Revision: https://developer.blender.org/D3062
2018-02-14Fix incorrect RNA path to view_render settings.Brecht Van Lommel
2018-02-14Code cleanup: simplify subwindow code.Brecht Van Lommel
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-14Math utils: Add clamping functionsSergey Sharybin
2018-02-14Object Mode: remove Scene.obeditCampbell Barton
This means we can support having the same scene in different windows with different edit-objects.
2018-02-13GPU: add offscreen buffer drawing utility functions.Brecht Van Lommel
2018-02-13Code cleanup: stop using rectangle textures in window draw, simplify code.Brecht Van Lommel
2018-02-13Code cleanup: fix incorrect reading of GL scissor coordinates.Brecht Van Lommel
These are often the same as the viewport, but not always.
2018-02-13Code cleanup: remove unneeded gla* 2D drawing functions.Brecht Van Lommel
2018-02-13Fix blenderplayer build.Brecht Van Lommel
2018-02-13Merge branch 'master' into blender2.8Campbell Barton
2018-02-13Add ED_object_editmode_exit_exCampbell Barton
Allow exiting editmode from non-active scene.
2018-02-13Cycles: Implement index output for hair nodeSergey Sharybin
This is like the only way to add variety to hair which is created using simple children. Used here for the hair. Maybe not ideal, but the time will show.
2018-02-13Object Mode: remove Scene.obedit for RNACampbell Barton
2018-02-13Object Mode: Loop over objects for ED_editors_exitCampbell Barton
We could loop over active objects but this ensures don't miss any and avoids complicated context checks.
2018-02-13Object Mode: remove Scene.obeditCampbell Barton
Add ED_screen_window_find, BKE_workspace_edit_object
2018-02-13Object Mode: remove Scene.obedit for 3D ViewCampbell Barton
2018-02-13Object Mode: pass edit-object to outliner drawingCampbell Barton
Also add 'OBEDIT_FROM_EVAL_CTX' macro.
2018-02-13Object Mode: pass edit-object to UV APICampbell Barton
2018-02-13Object Mode: remove Scene.obedit in draw managerCampbell Barton
Part of larger change to remove this variable entirely.
2018-02-13(Nodes) Display image name if any in the Cycles Image and Environment ↵Ines Almeida
Texture node title
2018-02-12Fix part of T53080: don't use current scene world for icon previews.Brecht Van Lommel
This can be very slow if it contains a big texture, and it's not necessarily setup in a useful way anyway, and materials can be used in multiple scenes.
2018-02-12Fix T54032: Adding torus test failsCampbell Barton
rna_LayerObjects_active_object_update used wrong viewlayer. Regression in 345c6298e99