6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
320aa33e65
rename MPoly vars called mface or mf, to avoid confusion with MFace types.
2012-04-03 23:40:24 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
fcd5550a42
Some advanced particle rotation modes and reorganization of the rotation panel:
...
- More angular velocity modes to support creative effects.
- Renamed "Initial Rotation" to "Initial Orientation" to better reflect the functionality
- Renamed "Spin" angular velocity mode to "Velocity".
- Organized the rotation panel a bit better.
- Also some better names and tooltips for the different rotation values.
2012-03-20 01:00:28 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
dfdfa3d51b
code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math funcs.
...
added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too.
2012-03-09 06:04:17 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
ed04c21374
code cleanup: use float vector size in function definitions, and const's where the values are unchanged.
2012-02-28 14:05:00 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
85d99737b5
fix for bug where particle system would fail when the original mesh had no tessface's
2012-02-19 17:44:36 +00:00
bc6bbcccc9
went over all uses of mesh->mface and added BMESH_TODO comments for
...
areas that need to be updated.
2012-02-15 14:39:18 +00:00
2d1a05874b
svn merge ^/trunk/blender -r44024:44076
2012-02-13 04:14:35 +00:00
670bde28dd
Fix [ #29530 ] Changing to particle mode could crash in some cases
...
* If a baked particle didn't have any cached keys creating an edit path for it crashed.
2012-02-12 00:32:31 +00:00
a7458742b1
Fix [ #29265 ] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
...
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.
2012-02-12 00:25:52 +00:00
543fb27fd0
support for 'origspace' data layer - used for hair on subsurf mesh.
...
currently only works for 3/4 sided faces.
2012-02-05 11:30:26 +00:00
d5fcaeb874
sync changes from trunk.
2012-02-05 07:44:40 +00:00
761122da2f
Code Cleanup: minor changes & sync with bmesh.
2012-02-05 07:40:15 +00:00
2ea8a3b8ca
remove CDDM_copy second argument, added CDDM_copy_from_tessface instead.
...
this function caused too many conflicts and in most cases was zero anyway.
2012-01-29 21:59:47 +00:00
c7e8af13d4
remove cellalloc, from my tests jemalloc beats cellalloc, so we better just use a better malloc replacement.
...
See Details:
http://wiki.blender.org/index.php/User:Ideasman42/BMeshBranchReview#Update_43694
2012-01-25 20:18:12 +00:00
a7b0a11811
svn merge ^/trunk/blender -r43278:43294
2012-01-11 15:04:54 +00:00
e10fd04db0
use BLI_strncpy and BLI_snprintf when the size of the string is known.
...
fix for sequencer unique naming which was missed with string length update.
2012-01-11 12:33:51 +00:00
50ca81154e
svn merge ^/trunk/blender -r42973:42991
2011-12-30 09:23:06 +00:00
6d965f4493
style edits for function declarations
2011-12-30 07:55:15 +00:00
db6cb30941
svn merge ^/trunk/blender -r42669:42670
2011-12-16 23:50:55 +00:00
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
65f3b93f14
svn merge ^/trunk/blender -r42521:42550
2011-12-10 05:38:00 +00:00
6a6c9fc160
function de-duplicate, particle.c had 'vert_weight' which serves the exact same purpose as 'defvert_find_weight'.
2011-12-09 08:05:23 +00:00
9e5b28cd42
svn merge ^/trunk/blender -r42261:42290
2011-11-30 09:31:11 +00:00
9b2df014d2
fix [ #29459 ] Crash making a linked object group local
...
was an error with make-local refactor & path updating.
2011-11-30 00:32:13 +00:00
3b5bcab09c
svn merge ^/trunk/blender -r42139:42172
2011-11-26 16:29:14 +00:00
af7288c407
minor edit - weight_to_rgb() and ramp_blend() now take a float vector rather than 3 float pointers.
...
also make particle draw use a float vec.
2011-11-26 03:13:54 +00:00
9d05ccf9e8
svn merge -r41899:41926 ^/trunk/blender. also sync mempool with trunk and move BLI_mempool_alloc out of mempools header where it was inlined
2011-11-16 19:06:38 +00:00
4d9766aacf
minor cleanup
...
- remove / comment unused python vars
- replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);
2011-11-16 16:38:37 +00:00
e59ab6486f
svn merge -r41751:41779 ^/trunk/blender
2011-11-15 02:05:32 +00:00
094c9799f9
quiet -Wdouble-promotion warnings
2011-11-11 12:00:08 +00:00
92d35b74e7
svn merge -r41722:41723 ^/trunk/blender
2011-11-11 06:25:45 +00:00
edec46b0a6
Merge with trunk r41625
2011-11-07 16:36:49 +00:00
7508540c53
svn merge -r41575:41602 ^/trunk/blender
2011-11-07 07:01:24 +00:00
bb8fe0bf4a
minor edits
...
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
2011-11-07 04:36:37 +00:00
85540d5aa7
more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.
2011-11-06 16:38:21 +00:00
b82dee0cb4
replace macros with bli math functions for particles code
2011-11-06 14:00:55 +00:00
e03fdd8112
Second attempt at getting rid of bsystem_time()
...
Hopefully this fixes Collada. Can't really compile that to check
here...
2011-11-06 12:12:14 +00:00
e936c78251
svn merge ^/trunk/blender -r41503:41575
2011-11-06 10:38:44 +00:00
723484ec06
Removed old "bsystem_time()" function, which by now is just a
...
duplicate of BKE_curframe() which just takes two extra args.
For the few calls in the physics engine where CFRA+1 instead of CFRA
was being used, I've added a new BKE_nextframe() call, which will
calculate for CFRA+1 instead of CFRA in much the same way that
bsystem_time() would end up doing things (which means including
subframe steps).
2011-11-06 06:08:18 +00:00
2ed6f077b3
Merge with trunk r41545
2011-11-05 08:04:49 +00:00
9aa901cccc
svn merge -r41422:41431 ^/trunk/blender
2011-11-01 09:05:38 +00:00
e3f03d72b6
added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
...
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.
2011-11-01 06:26:55 +00:00