Campbell Barton
c1619a528c
fix for own mistake in recent change to use defvert layer offsets.
2013-05-28 23:13:04 +00:00
Campbell Barton
de3686ac25
fix [ #34851 ] "UnitSettings.scale_length" not beeing calculated the same way for all objects
2013-05-28 23:07:16 +00:00
Campbell Barton
abfee7425b
correct error in r57092 with scons.
2013-05-28 20:35:12 +00:00
Sergey Sharybin
04d54f89d2
Correction for strict compiler flags.
2013-05-28 20:19:38 +00:00
Campbell Barton
b5cb9e8810
add BLI_sys_types.h
2013-05-28 19:42:19 +00:00
Campbell Barton
149b77f2bb
don't use globbing for freestyle cmake file.
2013-05-28 19:38:28 +00:00
Campbell Barton
225c5fee6b
move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
...
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00
Lukas Toenne
3128a47d22
Quick addition to the node sidebar "Active Node" panel: draw input socket values in addition to non-socket settings. This makes it possible to actually use the sidebar for all node settings without
...
having to go to the main area for changing socket values.
This patch should be considered a temporary solution. The Active Node panel is a horrible mess and needs to be split up and cleaned. It should probably be moved to python as well.
2013-05-28 18:10:00 +00:00
Jens Verwiebe
3223518e32
QTKIT: as per Ideasman's suggestion, include BLI_utildefines.h in sourcefiles where needed and reorder (must be before BKE_global.h)
2013-05-28 17:38:02 +00:00
Jens Verwiebe
f4d3fdf288
Since have_quicktime is now a bool, need extra include for stdbool
2013-05-28 16:57:28 +00:00
Campbell Barton
fc7c0506b8
bmo_subdivide_edgering.c now builds with release+debuginfo, also remove unused defines and correct include guards.
2013-05-28 16:35:47 +00:00
Campbell Barton
88d385ef70
fix [ #35509 ] MedianPoint choice has bad normals
2013-05-28 15:08:13 +00:00
Brecht Van Lommel
33d609144e
Cycles: normal maps are now backwards compatible again after recent fix, with
...
a separate Blender Object/World Space that is compatible with Blender render
baking and uses the YZ flipping convention.
2013-05-28 14:24:03 +00:00
Campbell Barton
ef4db04da8
code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using the mapping functionality.
...
replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-28 14:23:07 +00:00
Campbell Barton
c7a46d5369
reorder includes for win
2013-05-28 13:37:47 +00:00
Gaia Clary
be773f22b1
Added missing recalculate of normals after mesh import
2013-05-28 13:32:29 +00:00
Campbell Barton
dc39ecf010
code cleanup: remove old/unused bmesh bevel transform mode, remove commented character list UI widget and the members these used in 'G' global.
2013-05-28 13:01:31 +00:00
Campbell Barton
0559630c7e
fix for missing normalize with recent optimizations.
2013-05-28 12:00:36 +00:00
Sergey Sharybin
285137cefb
Fix #35473 : Using Redo panel in View3D after Grease Pencil action moves GP layer to that area
...
Remove REGISTER flag from GP draw operator, so redo wouldn't screw up regions.
2013-05-28 11:44:35 +00:00
Sergey Sharybin
5486016e04
Fix #35547 : incomplete tooltips in node editor
...
Descriptions were missing since PyNodes integration.
Thanks to lukas for patch review!
2013-05-28 08:58:27 +00:00
Sergey Sharybin
b39a532083
Fix #35513 : Multires modifier normal corruption on apply base
...
Seems it was simply missing mesh normals update in multiresModifier_base_apply.
2013-05-28 08:40:47 +00:00
Miika Hamalainen
8ebc246a9a
Fix: smoke initial velocity didn't work with the new custom size particles.
2013-05-28 08:10:01 +00:00
Campbell Barton
c77179a3c2
code cleanup: comment/remove unused defines
2013-05-28 01:15:59 +00:00
Tamito Kajiyama
1ab7a6f9af
Fix for crash in Freestyle with sketchy chaining and Bezier Curve geometry modifier.
...
When the sketchy chaining is used, stroke geometry may contain a 180-degree U-turn.
If the 'error' parameter of the Bezier Curve geometry modifier is small (e.g., 10),
Bezier curve fitting will recursively split the original stroke into two pieces.
This splitting may take place at a U-turn point, causing a numerical singularity issue
that leads to a crash.
Problem report by edna in the BA Freestyle thread, with an example .blend to reproduce
the problem. Thanks a lot!
2013-05-28 00:35:29 +00:00
Campbell Barton
5de17660e2
fix [ #35543 ] Bezier curve width and twist fail to apply when more than 1 point is edited
2013-05-27 23:51:01 +00:00
Campbell Barton
c498a8f2b4
fix [ #35544 ] Boids Segfault of frame advance using cursor keys
...
caused by partial revert of r56073.
2013-05-27 22:25:54 +00:00
Campbell Barton
4439eca654
fix [ #35503 ] Bug with BMesh and Mirror Modifier (Blender 2.67)
...
regression with bmesh - extruding was creating faces where it shouldn't.
2013-05-27 20:56:33 +00:00
Campbell Barton
a70fa65592
optimize mirror merging, remove array reallocation, replace with fixed size arrays.
2013-05-27 20:11:12 +00:00
Campbell Barton
44b3735078
fix error in own recent commit, also other minor changes.
2013-05-27 18:51:31 +00:00
Campbell Barton
d2d0866cff
view3d buttons, internal change: make act_vert_def vertex argument optional.
2013-05-27 18:10:36 +00:00
Bastien Montagne
a11cd2bd21
Picky UI message fix...
2013-05-27 18:08:14 +00:00
Brecht Van Lommel
601b8c1041
Fix #35505 : cycles object space normal mapping did not match blender internal.
...
Now it uses the same (strange) YZ flipping convention.
2013-05-27 17:48:02 +00:00
Brecht Van Lommel
833ca58260
Fix #35506 : enter local view, enable render draw mode, exit local view. In this
...
case the render engine would keep working invisible in the background.
2013-05-27 17:21:20 +00:00
Brecht Van Lommel
bb15701f86
Particles: patch #35205 by Jakub Zolcik
...
The Emission panel now has a Use Modifier Stack option to emit particles from
the mesh with modifiers applied. Previously particles would only be emitted from
faces that exist in the original mesh. There are some caveats however:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.68/Tools#Particles
2013-05-27 17:11:05 +00:00
Sergey Sharybin
880c132b11
Fix #35480 : object without material crash blender when starting game engine
...
Was a missing NULL-pointer check. No idea why it took so long to figure
issue out -- apparently there was no crash in linux for me and msvc
didn't show any backtrace :S
Also corrected weirdo way of bit flag check which was:
!ma->mode & MA_FACETEXTURE
better do !(ma->mode & MA_FACETEXTURE) since ! is a logic NOT.
2013-05-27 15:13:14 +00:00
Lukas Toenne
6f2013a93d
Fix for #35495 , Material preview do not update. This was caused by a line inserted by pynodes merge that would cancel all running preview jobs on each node area refresh. Not sure what the rationale for
...
this behavior was, but it certainly doesn't work correctly.
2013-05-27 13:13:21 +00:00
Campbell Barton
57ae0f7680
modification to r57023, use active color but only draw face-stipple when selected. (active-unselected isn't in common usage for mesh editmode).
2013-05-27 13:03:33 +00:00
Campbell Barton
083115c5e7
bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops.
2013-05-27 12:42:48 +00:00
Sergey Sharybin
343e851212
Fix #35504 : Blender crashes on separating curves with different Evaluation Time / keyframes
...
Used slightly different approach from what was discussed with Campbell,
and the reason of this is slightly better support of curve point animation
re-mapping.
There're actually some limitations which better be discussed bewfore 'b':
- If there're no point animation, spline separation goes just fine.
- If there're animated points in the curve, blender will preserve
animation for currently editing curve. But, since new curve created
by Separate operator shares the same AnimData, it'll be animatied
in a weird way.
So not sure whether it's better to preserve animation for current spline
but require switching animationdata for new spline or resetting animation
for current curve's animation data.
2013-05-27 10:08:56 +00:00
Campbell Barton
2247465b99
style cleanup: nodes
2013-05-27 08:04:07 +00:00
Campbell Barton
d612fc0426
style cleanup: nodes
2013-05-27 07:57:17 +00:00
Campbell Barton
ac0a8af414
fix [ #35518 ] UV Mapping crashes the Blender with specific image file
...
2 bugs here
- missing NULL check in IMB_colormanagement_display_settings_from_ctx()
- deadlock in draw_image_paint_helpers()
Simple solution is to not draw paint helpers for render/viewer images.
2013-05-27 06:06:35 +00:00
Campbell Barton
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
Campbell Barton
4cf069a41d
the viewport align-active option was flipping the viewport direction,
...
now you can add an object, enable align to view, then align the view back to the object without flipping.
2013-05-26 18:24:13 +00:00
Gaia Clary
add5167b8d
Fixed own error: used wrong iteration count for cleaning weight groups
2013-05-26 17:34:03 +00:00
Campbell Barton
5e347c4f71
code cleanup: typos
2013-05-26 12:02:29 +00:00
Campbell Barton
1014dbaea1
bmesh: replace BLI_array reallocs with alloca, also don't check all faces for connecting verts.
2013-05-25 23:34:25 +00:00
Campbell Barton
4c66463218
code cleanup: quiet pedantic warning in array macro.
2013-05-25 22:26:41 +00:00
Campbell Barton
7e9fdd97ba
fix for incorrect type casting when checking macros exec() functions.
...
infact this worked by accident, but didn't crash.
2013-05-25 22:07:21 +00:00
Alexander Kuznetsov
b9817cd207
Live resize on Windows. Based on Ton's patch for mac.
...
Removing old resize stuff.
Windows has resize lag, which creates black gap with openGL. Still looking to fix it.
2013-05-25 21:59:34 +00:00