1b8b9063f8
Correct last commit
2015-07-14 23:37:11 +10:00
0918461d61
Move from MTFace to MTexPoly w/ texture checks
...
Part of moving away from MFace.
2015-07-14 22:36:00 +10:00
2cffd6649b
Match face tessellation order in edimode
...
add a negated version of axis_dominant_v3_to_m3
2015-07-14 22:29:31 +10:00
655f498ca7
Cleanup: headers (wm)
2015-07-14 22:29:31 +10:00
cba0858ccd
Fix for recent optimization commit in endian switch
...
Pre-4.8 GCC had a bug which lead to non-exposed __builtin_bswap16() symbol.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624 for details.
2015-07-14 11:33:50 +02:00
82740cd282
Fix T45423: depsgraph: crash in IDDepsNode::tag_update
...
Two issues fixed in this commit:
- Clearing or adding animation via python should ensure relations are valid.
- Animation component animation data might be null caused by removing animation
from python.
2015-07-14 11:21:04 +02:00
9c80e52a89
Make tooltip parsable by human compilers (thanks to Pablo for
...
suggestion)
2015-07-14 11:19:13 +02:00
6ba4a917a3
Data Transfer: very minor cleanup...
2015-07-14 11:13:56 +02:00
85004461ea
Workaround for non-bleeding edge compilers and const cast of pointer arrays.
2015-07-14 09:56:00 +02:00
7ad9ca72dd
Cleanup: replace BLI_split_file_part w/ BLI_path_basename
2015-07-14 09:34:53 +10:00
b7c42ef93e
Cleanup: use ascii as suffix (as with utf8)
2015-07-14 09:17:00 +10:00
2de497eee0
BKE_deform: assert on invalid args
...
Will phase these out eventually
2015-07-14 08:41:15 +10:00
8c0b5c02de
Draw emboss when area is full but in quad-split
2015-07-14 07:31:46 +10:00
9f78aa4c36
Fix T45348: Collapse gives sel verts in face mode
2015-07-14 07:02:35 +10:00
55374426c6
EditMesh: show angles of adjacent selected verts
...
Useful since moving vertices will change angles on adjacent,
unselected face-corners too.
2015-07-14 06:30:02 +10:00
eee2d8e45c
Fix T45247: Softbody ignores lattice weight
...
Now multiply the lattice wight by the goal weight too.
2015-07-14 06:20:31 +10:00
240646f506
Softbody goal weights cleanup
...
- avoid searching for vertex group for each vertex.
- add support for mass and spring weights to lattice.
- multiply the vertex group weight by the overall goal weight value.
2015-07-14 06:20:30 +10:00
6a982a080c
Add some pedantic casts, since some guys around like to take all warnings from their compilers as errors, even the stupidest ones!
2015-07-13 22:00:49 +02:00
Dalai Felinto
4050b49f97
increase mathutils callback count (BGE devs, read the log)
...
This was causing the BGE to crash on Debug mode when built with "break on asserts", meaning the BGE was not debuggeable.
Please make sure to test patches in debug mode with the proper flags enabled before committing
2015-07-13 16:11:59 -03:00
Dalai Felinto
34a7156705
RNA assert: make object game state to comply with RNA_property_boolean_get_index() 1/0 requirement
2015-07-13 15:52:05 -03:00
406b9aa7b1
Fix T45402: Transform crash w/ project+align snap
...
Only euler rotations were checked for.
Also delta rotations caused random/unusable output.
2015-07-14 04:30:16 +10:00
6f7926c61c
Fix T45394: Motion tracking constraints did not work with Cycles motion blur
2015-07-13 18:17:46 +02:00
dd44754c5f
Data Transfer: Add an option to 'auto-transform' destination mesh so that it matches best the source one.
...
This allows to match and transfer data between two meshes with similar shape but complete arbitrary different transform.
Note that the result will be best if the meshes (more precisely, their vertices) are exact copies of each other.
Otherwise, method used can only perform an approximated best match, which means you'll likely get better
results if you 'visually' make them match in 3D space (and use 'Object Transform') instead.
2015-07-13 18:05:38 +02:00
e93b969ac9
Add BLI_math_statistics, where stats tool shall be!
...
For now, only contains some 3x3 matrix covariance computing.
2015-07-13 18:05:38 +02:00
0e9842dd04
Add BLI_math_solver, where non-linear solvers should be.
...
For now, only has an eigen solver for 3×3 (symmetric) matrix.
2015-07-13 18:05:38 +02:00
0119539e4b
Add icon scale argument for ui-template-previews
2015-07-14 01:46:25 +10:00
e7b3803317
Allow spin/screw to run outside 3D view
...
This lets scripts call them
2015-07-14 00:55:04 +10:00
b16bf6da80
Fix T45364: NEW DEPSGRAPH: New Torus created can't be transformed
...
Linking objects to a scene via python should ensure relations are properly
updated for that scene.
2015-07-13 16:00:39 +02:00
a2f7997e05
Freestyle: Fix compilation error with strict compiler flags
2015-07-13 15:24:56 +02:00
2d32b92d77
Cleanup: IMB prefix for ImBuf defines
2015-07-13 22:00:07 +10:00
e142ae77ca
Imbuf types refactor.
...
ImBuf types were getting stored as bitflags in a 32bit integer which had
already run out of space. Solved the problem by separating file type to
an ftype enum, and file specific options to foptions.
Reviewed by Campbell, thanks a lot!
2015-07-13 13:58:17 +02:00
5201748f5f
Fix T45397: Frameserver rendering no longer works in 2.75 or 2.75a
...
Issue was caused by a typo in original multiview commit.
2015-07-13 11:10:33 +02:00
1dd92f352b
Fix T45385: Crash on render occurring when two hair modifiers are active that both use a UV mapped material for render
...
Not sure it's totally correct solution, but seems reasonable because it's
possible dmcache is set to ISCHILD.
Someone more familiar with the particles code might want to revisit this :)
2015-07-13 11:01:34 +02:00
f4f7348c41
Minor tweaking to Knife header text.
...
Confirm/cancel shall always be first, and also makes more sense to have
define cut/close cut/new cut together.
2015-07-12 21:52:59 +02:00
c1a5e6b2fd
Shortcut-to-string converter: add 'dbl-' in front of key when expecting a double-click.
...
I think this is the only Keymap value we really need to handle here...
2015-07-12 21:39:59 +02:00
c2bcf2dc05
Add new modalkeymap usage in helper header message to Knife tool.
2015-07-12 21:32:16 +02:00
36c15f4194
Add new modalkeymap usage in helper header message to Fly mode.
2015-07-12 21:14:06 +02:00
1b297567c0
Cleanup: style
2015-07-13 03:48:08 +10:00
feffbe974b
Remove redundant string copy
2015-07-13 03:43:41 +10:00
1893e5e4c2
Missed essential part in previous commit.
...
Or how to epic fail a fix when working on two different systems.
Or how to increase your commit rate.
2015-07-12 19:04:31 +02:00
7e9c347c8c
Fix T45375: Cant clear temp fluid cache after closing Blender (Windows).
...
There was two different issues here actually:
* Own (very high) stupidity only gave 8 chars to file name (sic).
* list dir returns dirpaths without a trailing slahs, but expects them to have it it seems. :|
2015-07-12 18:49:02 +02:00
5b0f674e09
Fix crash in redraw timer
...
Was modifying wrong regions flag, that could also be NULL.
2015-07-13 00:21:08 +10:00
8d48f8e0b0
Add ability for redraw timer to run for fixed time
...
Also avoid accessing context vars in timer loop.
2015-07-12 22:57:35 +10:00
2fd3b9ad84
PyAPI: Use separate writes for operator reports
...
This allows us to temp override the stdout and extract individual reports
2015-07-12 22:26:14 +10:00
5c8fc8e505
Use const for direntry strings
2015-07-12 05:50:07 +10:00
Julian Eisel
8c67b8ffe9
File Browser: Fix possible bug and some minor tweaks
...
BLI_add_slash appended to a char *, a potential buffer overflow
Also partially removed an assert, which failed after changing file format of a saved image. We need a better way to handle such cases.
2015-07-11 21:44:42 +02:00
7b1489b93b
Error in last commit
2015-07-12 05:35:44 +10:00
968351d916
Minor changes for more efficient endian switching
2015-07-12 05:33:04 +10:00
17ebbc06e2
Use const for sculpt vars
...
resolves building with gcc4.9
2015-07-12 03:50:39 +10:00
5a19d9d8f3
ImBuf: Fix compilation error with older libpng
...
Older libpng library does not use const pointer to a memory.
The exact version is a bit of a guess here, maybe needs tweaks to it tho.
2015-07-11 19:18:20 +02:00