Campbell Barton
ff39d7b4bf
fix for incorrect selection when running MESH_OT_loop_to_region, running wire-frame operator directly after would crash.
2013-06-27 05:19:25 +00:00
Campbell Barton
3f2ecdcd42
use common suffix's for exec/poll functions in recently added vertex-group operators.
2013-06-27 04:41:04 +00:00
Campbell Barton
603258d763
fix for zero length normalize before scanfill for meshes and other minor changes.
2013-06-27 04:32:44 +00:00
Campbell Barton
3ff36f928c
3d text tool - 'insert lorem' was crashing, also add this to the text menu.
2013-06-27 04:18:01 +00:00
Campbell Barton
f3b7a49d5b
fix for old bug, select more in a nurbs surface would crash (under allocing).
2013-06-27 03:57:59 +00:00
Campbell Barton
2085a42e52
pep8 cleanup
2013-06-27 03:05:19 +00:00
Campbell Barton
bb42703ea3
- remove edge collapse loop operator (now replaced by dissolve).
...
- fix missing null pointer check from own recent changes.
- add asserts if BLI path functions are given wrong id's
2013-06-27 01:10:19 +00:00
Campbell Barton
46808dd22c
fix for python api bug: assigning the wrong size array to an RNA property wasn't checking the length and could crash, eg:
...
mesh.polygons[0].vertices = (10,)
2013-06-27 01:01:11 +00:00
Campbell Barton
8107c543ec
remove redundant casts
2013-06-27 00:37:42 +00:00
Thomas Dinges
29a82a04fa
Cycles:
...
* Assure SSE2 intrinsics are also used on SSE3 CPUs and x86.
2013-06-27 00:03:48 +00:00
Brecht Van Lommel
7902fa57b6
Code cleanup: cycles
...
* Reshuffle SSE #ifdefs to try to avoid compilation errors enabling SSE on 32 bit.
* Remove CUDA kernel launch size exception on Mac, is not needed.
* Make OSL file compilation quiet like c/cpp files.
2013-06-26 23:29:33 +00:00
Thomas Dinges
372c4f80f4
* Comment out change from r57790 to fix compilation for now.
2013-06-26 23:15:52 +00:00
Thomas Dinges
ce06d6d795
Cycles / Brick texture:
...
* Avoid some unneeded int castings, they were only needed in the original Texture Nodes implementation as custom1 and custom2 were shorts.
2013-06-26 23:08:18 +00:00
Gaia Clary
dc16faaaaf
Added checks to vertex Weight editor to respect locked Vertex Groups
2013-06-26 22:29:31 +00:00
Thomas Dinges
15f5da4cd4
Cycles / SSE2:
...
* kernel_sse2 was built without actual SSE2 intrinsics on x86 systems.
2013-06-26 22:12:23 +00:00
Campbell Barton
329b832dc2
BM_face_legal_splits - perform calculations in 2d (was using 3d vectors for all 2d operations)
2013-06-26 21:47:08 +00:00
Campbell Barton
56a47b6114
avoid calling axis_dominant_v3_to_m3 twice from BM_face_legal_splits
2013-06-26 21:17:10 +00:00
Brecht Van Lommel
a2552c5836
Fix #35882 : render to image editor, ctrl+up fullscreen, click back to previous
...
did not work.
2013-06-26 20:51:41 +00:00
Brecht Van Lommel
af36eb86e2
Further fix for #35880 : theme color of enabled option buttons in popups was still
...
controlled by the wrong color, now it's controlled by "Menu Back" text color. This
is somewhat confusing but we like some other widgets the standard colors do not
work well on the dark background of popups.
2013-06-26 20:28:12 +00:00
Campbell Barton
5fac3d9db5
remove bmesh arg from BM_face_legal_splits(), don't use a bmesh iterator.
2013-06-26 20:15:02 +00:00
Brecht Van Lommel
2daa901ec0
Fix #35883 : freestyle + envmap render crashed.
2013-06-26 19:23:03 +00:00
Campbell Barton
ca51930a90
fix [ #33068 ] Can't paint weights of some vertices in some situations.
...
old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).
2013-06-26 18:40:55 +00:00
Campbell Barton
9c85cdceb2
remove unused struct
2013-06-26 16:59:58 +00:00
Antony Riakiotakis
3b0328436f
Fix #35365 Texture cloning not behaving correctly in perspective view
...
This issue was caused by doing pespective interpolation of clone uv
coordinates in perspective view. To fix this we need to use perspective
correction for screen coordinates, but return regular barycentric
weights back for clone layer uv coordinate interpolation.
2013-06-26 14:28:39 +00:00
Bastien Montagne
42940807ee
Style cleanup (indent of switch/case in own code).
2013-06-26 13:22:25 +00:00
Bastien Montagne
ba2ee5f5f3
Update osl magic number when updating version ;)
2013-06-26 12:37:48 +00:00
Brecht Van Lommel
ab1a0d6cf7
Fix #35879 : missing 3D viewport redraws when changing lamp settings, after recent
...
changes to avoid unnecessary redraws.
2013-06-26 12:33:30 +00:00
Brecht Van Lommel
b7ca8cef35
Fix #35880 : popup menus like F6 redo did not use the right theme color for
...
highlighted text, it should use the UI instead of 3D view color.
2013-06-26 12:24:36 +00:00
Brecht Van Lommel
e11e30aadf
Fix Cycles OpenCL issue if context/program creation fails, mistake by me,
...
patch #35866 by Doug Gale to fix it.
2013-06-26 12:24:33 +00:00
Antony Riakiotakis
5eda86a678
Fix #35583 Smooth brush ignores hidden parts
...
The bug only exists for multires smoothing. Other cases were handled by
BKE_pbvh_vertex_iter_begin, which culled hidden parts accordingly. Added
a manual check on the multires smoothing code.
2013-06-26 11:39:48 +00:00
Thomas Dinges
d5fd3b3688
Install Deps script:
...
* Use recent OSL 1.3.2 release.
2013-06-26 11:30:37 +00:00
Antony Riakiotakis
56f5951ed3
Fix #34837 Texture Painting using Face Selection Mask fails to show
...
texture if more than 1 texture is used
The problem here is that no flushing is done when the texface image
changes between rendered triangles. Added a compare function and
slightly modified the draw_tface_mapped__set_draw callback to compliant
with the new user data.
2013-06-26 10:14:30 +00:00
Gaia Clary
725543241a
Avoid blender crash during collada export (when armature has animation data)
2013-06-26 09:02:11 +00:00
Bastien Montagne
063be8fdc0
Fix [ #35750 ] list items in properties editor (text colors not following list item theme).
...
Issue goes back since we stopped using LISTROW button to draw item's name (i.e. since we have custom buttons in list items!).
This commit:
* Adds a new flag to uiBlock, UI_BLOCK_LIST_ITEM, to mark blocks used for each list item.
* Adds a new button type, LISTLABEL, which basically behaves exactly as LABEL, but uses wcol_list_item color set.
* When uiItemL is called, it checks whether current block has UI_BLOCK_LIST_ITEM set, and if so, switch produced button to LISTLABEL type.
* Adds a new helper func, ui_layout_list_set_labels_active, called after the active list item has been "drawn", to set all LISTLABEL buttons as UI_SELECT.
Note custom widget_state_label() was removed, in interface_widgets.c, as it did nothing more than default widget_state().
Thanks to Brecht for the review and advices.
2013-06-26 07:28:55 +00:00
Campbell Barton
c0c9f5386b
fix [ #35507 ] BMesh module: Crash on to_mesh() if faces.layers.tex is used but no loops.layers.uv
2013-06-26 04:17:41 +00:00
Campbell Barton
7d608452d0
bmesh mirror operator was counting layers in inner loop for no good reason.
2013-06-26 04:17:02 +00:00
Campbell Barton
a050ddf279
remove unused callback
2013-06-26 03:42:45 +00:00
Campbell Barton
28e14794e7
fix for vert/face mask modes using last used select option when using the select-all key shortcut.
2013-06-26 02:57:05 +00:00
Campbell Barton
a7858767f4
fix [ #35858 ] Weight Paint: Hiding faces isnt flushing the flag to the vertices.
2013-06-26 02:47:56 +00:00
Gaia Clary
47cfdc4494
Fixed operator call (due to renamed operator parameter)
2013-06-25 22:58:45 +00:00
Campbell Barton
fad1da062d
correct typos in comments.
2013-06-25 22:58:23 +00:00
Gaia Clary
b52d01dea6
Rename operator for better clarity
2013-06-25 22:28:20 +00:00
Gaia Clary
06b82088fa
disable normalize when active vertex contains locked weights
2013-06-25 22:19:48 +00:00
Gaia Clary
eacd013cb4
disable vertex editing when weight group is locked
2013-06-25 21:00:00 +00:00
Campbell Barton
8245bdca2b
quiet double promotion warning and some style cleanup
2013-06-25 20:52:33 +00:00
Brecht Van Lommel
8574808b2d
Fix #35546 : clicking cycles "Use Nodes" did not do a proper undo push, due to
...
button disappearing as soon as it's clicked. Workaround now is to make this an
operator. Thanks to Lukas and Campbell for tracking this down.
2013-06-25 16:38:40 +00:00
Brecht Van Lommel
daa54f0f5c
Fix #35846 : crash rendering with dupligroups visible in 3D viewport during render
...
in some cases. The dupli code would still do object updates during render indirectly,
while this is disabled for thread safety everywhere else, now we disable it for this
case as well.
Not a pretty solution but this is for the depgraph refactor to solve.
2013-06-25 14:57:45 +00:00
Brecht Van Lommel
40d4dfaba8
Fix #35824 : finding missing files not working correct for filepaths with special
...
characters on Windows.
Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.
2013-06-25 14:48:30 +00:00
Campbell Barton
689ca4aef7
correct assertion error (clear dirty normal flag when there are no vertices)
2013-06-25 14:31:52 +00:00
Brecht Van Lommel
6268434eee
Fix part of #35859 : lib linking errors were not shown when opening files through open recent.
2013-06-25 13:39:51 +00:00