Blender Git Commits

Blender Git commits from all branches.

Page: 824 / 2888

Revision fc110d4 by over0219 (soc-2020-soft-body)
June 23, 2020, 03:58 (GMT)
working on nearest-face traversal
Revision 0d317dd by over0219 (soc-2020-soft-body)
June 23, 2020, 01:19 (GMT)
working on collision
Revision 88ab1c1 by over0219 (soc-2020-soft-body)
June 23, 2020, 00:00 (GMT)
more interface changes
Revision 50e2c47 by over0219 (soc-2020-soft-body)
June 22, 2020, 23:45 (GMT)
changed up interface for lattice a bit
Revision c214acc by over0219 (soc-2020-soft-body)
June 22, 2020, 19:26 (GMT)
fixed issue with rand causing mem error
June 22, 2020, 19:01 (GMT)
Optimisation: reserve memory early; use UNLIKELY

Since we know the minimum number of UV vertices that a mesh can have,
its memory is reserved in advance. `append` later in the loop simply
checks whether there's sufficient space and edits the vector.

Also, in the edge writer, the last iteration is very unlikely :).
June 22, 2020, 19:01 (GMT)
Use blender::Vector and Array instead of std

The equivalent functions have also been replaced:
`back()` -> `last()`
`push_back()` -> `append()`
June 22, 2020, 19:01 (GMT)
Remove unused comments.
June 22, 2020, 19:01 (GMT)
Refactor: arrange the code in OOP style.

The OBJWriter class' one instance writes to one file.
All OBJWriter handles is writing to the file after calling functions
of OBJMesh which collect the required data.

OBJNurbs and OBJMaterial will be added soon too.
June 22, 2020, 19:01 (GMT)
Add support for curves to be exported as meshes.

An option in the exporter UI is added for exporting curves as NURBS.
But it doesn't do anything. All curves are exported as a mesh with
vertex coordinates and edges indexing into those coords.

The code duplication is obvious, it will be refactored to be reused
and with keeping object oriented style in mind.
June 22, 2020, 19:01 (GMT)
Review update: Renaming, comments, minor refactor

Review update for comments in D7959. No new feature has been added.
Changes here:

Use PIL_time.h instead of chrono. Use BLI_path_util.h instead of stdio.

Remove redundant `_to_export` suffix from some variables.

Clarify that `object_to_export` is `ob_mesh` to distinguish it from
curves objects later on.

Edited comments.

Change in face normal calculation in one loop instead of three for the
three axes components.

Add const where required.

Not hardcode Blender version but use `BKE_blender_version_string()`.

Add filenames to error messages in file opening.
June 22, 2020, 19:01 (GMT)
Renaming: Specify mesh objects instead of object

No functional change is there.

This change is required to distinguish mesh objects from curve objects.
Both of them have different requirements for the structs they'd use to
store their processed data.
So instead of adding if-else everywhere, curves and meshes can be
separated into different files.
June 22, 2020, 18:58 (GMT)
Merge branch 'master' into soc-2020-io-performance
June 22, 2020, 17:47 (GMT)
Merge branch 'master' into greasepencil-edit-curve
June 22, 2020, 17:46 (GMT)
Merge branch 'master' into greasepencil-object
June 22, 2020, 16:29 (GMT)
Many changes to API.
June 22, 2020, 16:27 (GMT)
Added a variable to keep track of delta time collision for colliders
June 22, 2020, 15:43 (GMT)
Merge branch 'master' into soc-2020-outliner
June 22, 2020, 14:16 (GMT)
Fluid: Removed the option 'Slicing' in 'Viewport Display'.
June 22, 2020, 14:10 (GMT)
GPencil: WIP: sync selection
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021