f161695150
Style cleanups here
2014-06-20 01:34:34 +12:00
eb6e05b2ce
PoseLib: New pose library actions now have their "id root" setting initialised properly
2014-06-20 01:34:33 +12:00
74f2e7fbc7
View3D: Handle un-weighed vertex color properly
...
D608 by Gaia Clary
2014-06-19 22:34:52 +10:00
ce4256ce5e
Code cleanup: replace odd pointer casting with structs
2014-06-19 18:38:37 +10:00
cabeb39005
Code cleanup: remove unused callback for depth drawing
2014-06-19 17:36:01 +10:00
374527ab03
Code cleanup: de-duplicate calls wmOrtho, wmFrustum
2014-06-19 17:36:00 +10:00
3db4d70b1f
Code cleanup: use const passing rects
2014-06-19 17:36:00 +10:00
6601136aaa
Enable texture preview even when Cycles is active
2014-06-19 13:11:58 +06:00
24723131ef
Correct for recent commit to refactor popups
2014-06-19 15:40:46 +10:00
804f58c0de
Curve: zero memory on access rather then calloc
...
also remove redundant check
2014-06-19 15:30:08 +10:00
70b8a8daf8
Freestyle: removed WOEdge::getVec3r() which in effect was a duplicate of WOEdge::GetVec().
2014-06-19 14:19:09 +09:00
22a961317a
Fix T40546: Duplicate spline breaks shape keys
2014-06-19 13:53:43 +10:00
Dalai Felinto
b49e6d04cc
Bake-API: small cleanup to prevent unfreed memory when there are baking errors
...
Fix to be included in 2.71
2014-06-18 19:46:37 -03:00
Dalai Felinto
9cf66d9248
Bake-API: fix for non-NORMAL maps baking black when using cage
...
Reported by Andy Davies (metalliandy) outside the tracker
Fix to include in 2.71
2014-06-18 19:32:14 -03:00
Dalai Felinto
a3cf97e2aa
Fix T4068787 Cycles Bake Selected To Active From Non-Mesh Object Fails With Error
...
Users can now bake from Mesh, Font, Curve, Surface and Metaballs.
Fix to include in 2.71
2014-06-18 19:20:46 -03:00
Dalai Felinto
1ef5669ad7
Fixup for fd0b7428 Bake-API: allow custom UV to be baked
2014-06-18 18:58:36 -03:00
68a8f0073f
Complete last commit.
...
Sorry, forgot to check other uses of BKE_nurb_makeCurve, NURBS surfaces were affected as well.
2014-06-18 23:53:11 +02:00
4bf8b04025
Fix T40694: Curve path messed up.
...
Error in rB4b4bb410e04e, BKE_nurb_makeCurve() requires its coord_array to be zero'ed,
hence we need calloc here.
2014-06-18 23:47:40 +02:00
79634b4688
Fix T40637, jittering can cause the mesh to disappear.
...
Do not do a step when there is no collision of the brush with the mesh.
2014-06-18 21:41:30 +03:00
5138485d43
missed removing this in recent popup refactor
2014-06-19 04:24:15 +10:00
bf58bd10bb
Correct error in last commit
2014-06-19 04:17:38 +10:00
bab75f8bf6
Editmesh: add ability to show weights on wire T39054, D585
2014-06-19 04:10:07 +10:00
34b8d22275
Fix T40585, group textures cannot be selected for painting.
...
Issue here is that if there's a texture in the tree, chances are it has
already been set as active texture so groups are never traversed.
Now changed logic so that if a group node is active, its own active
texture takes priority over the parent group active texture.
2014-06-18 20:40:50 +03:00
47ec0394ca
Fix T40679.
...
Cleanest way here is not do bounding box collision for editmeshes at
all. Decision is taken because:
* Usually we want to do the snapping to the edited mesh anyway (when we
don't the mesh is skipped completely, so we don't need to worry for
extra checks)
* Bounding box is calculated from derived mesh. This means that for
subsurfed meshes for instance, the bounding box may be significantly
smaller than the size of the edit mesh.
2014-06-18 18:40:11 +03:00
d9de1b367e
Revert "Fix flickering when transform snapping in edit mode and cursor is"
...
Looks like the cleanest way to handle this is to no do bounding box collision
for edit mode at all. But this is easy to enforce
This reverts commit 7b5fe4f316 .
Conflicts:
source/blender/editors/transform/transform_snap.c
2014-06-18 18:20:55 +03:00
7259ac821e
Code cleanup: use bool instead of int
2014-06-18 16:05:42 +06:00
87930eb7c2
Hopefully fix compilation with old MSVC2008/WIN32...
2014-06-18 10:32:25 +02:00
bb9719b7ab
Code cleanup: replace direct operator calls with ED_object_toggle_modes
2014-06-18 16:29:03 +10:00
24c7adde0f
Code cleanup: de-duplicate flag check in ED_object_toggle_modes
2014-06-18 16:23:50 +10:00
52a71c9db3
Transform: PET quick checks to speedup wire-only edge case
2014-06-18 16:09:58 +10:00
3c63eee7b4
Code cleanup: replace 0 with OB_MODE_OBJECT
2014-06-18 16:01:51 +10:00
b16bf6c3d4
Resolve memory leask with reports on initialization
2014-06-18 15:49:40 +10:00
24090ead01
Quiet warning
2014-06-18 15:48:22 +10:00
2ccbdec6e5
Transform: PET only treat faces as connected diagonally across quads
...
Was an intentional change, but worse for concave ngons, resolves T40675
2014-06-18 15:20:55 +10:00
f0a3ea54f8
Fix for weak floating-point number comparison.
...
Was causing assertion failures in MinGW-w64.
2014-06-18 14:18:41 +09:00
a82d3f85c6
Correct casts for IS_EQ and other macro tweaks
...
- ensure GET_INT_FROM_POINTER us only used to get values
- rename STACK_POP_ELSE -> STACK_POP_DEFAULT
2014-06-18 14:02:41 +10:00
3a101d8c92
Fix memory leaks in subsurf
2014-06-18 12:07:51 +10:00
Dalai Felinto
fd0b74280e
Bake-API: allow custom UV to be baked
...
Note: the custom UV option is only available when calling the operator
via a script. It's currently not exposed in the UI since it's intended
to be used by scripters
To test it:
bpy.ops.object.bake(type='UV', use_clear=True, uv_layer='MyNewUV')
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D546
2014-06-17 12:16:43 -03:00
fa257adf96
Fix some loss of precision in BKE's unit code.
...
When converting text to value, units' "value" had only 6 digits of precision,
leading to annoying loss of precision esp. when mixing big and small units
(like e.g. miles and inches).
2014-06-17 16:06:12 +02:00
f94b87bbb8
New python API for units handling.
...
Exposes all supported unit systems & types, and to_value()/to_string() functions.
Reviewed and enhanced by CampbellBarton, many thanks!
Differential Revision: https://developer.blender.org/D416
2014-06-17 16:03:40 +02:00
ab5f4c4dfa
BLI: Add two helpers to search a given string in an array of strings.
2014-06-17 15:58:07 +02:00
10af70cef8
Support for building without Python
2014-06-17 22:00:13 +10:00
c40cc0bf6d
Remove redundant check
2014-06-17 22:00:13 +10:00
10c74ec034
Fix T40638: Crash in Particle System, Connect Hair
2014-06-17 14:58:50 +06:00
fdc57e4e29
Correct argument name
2014-06-17 17:33:57 +10:00
2886f75f46
Fix T40639: operators ignore win.cursor_warp()
2014-06-17 14:11:15 +10:00
8c16f4c7d0
BGE: New Property sensor evaluation types
...
This patch adds "Less Than" and "Greater Than" evaluation types to the property sensor.
The Wiki Docs modifications http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Sensors/Property
Also, I have attached a screenshot and a blend to check.
Reviewers: dfelinto, moguri
Reviewed By: moguri
Differential Revision: https://developer.blender.org/D476
2014-06-16 14:56:36 -07:00
f9b7617104
Fix T40646: Knife project fails with clipping
2014-06-17 04:07:03 +10:00
e848cb9e48
Fix for knife when in ortho camera view
2014-06-17 04:07:03 +10:00
f2a0062042
Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))
2014-06-17 02:47:57 +10:00