Campbell Barton
f3518d9d76
fix for crash changing transform modes rotate/edge-slide/grab. setCustomPoints() assumed allocated member was big enough which wasnt the case when switching from rotate.
2013-04-24 15:06:42 +00:00
Brecht Van Lommel
f9592e9a6e
Fix #35063 : GLSL texture node Value output was not outputting alpha.
2013-04-24 15:05:43 +00:00
Brecht Van Lommel
a4f40416f5
Fix material node editor not working when Blender Game is selected as render engine.
2013-04-24 15:05:40 +00:00
Campbell Barton
b18ef3b8fb
use more rna-constant name for bevel clamping.
2013-04-24 14:14:54 +00:00
Campbell Barton
2cfbabc9b8
fix relating to r56260, when in vertex paint mode the mesh would have tessfaces allocated, which prevented baking from updating vertex colors.
...
baking now clears tessfaces.
2013-04-24 13:53:09 +00:00
Campbell Barton
2439bf0d9b
fix glitch where vertex baking wouldn't always refresh the mesh.
2013-04-24 13:12:29 +00:00
Howard Trickey
d2daa230d6
Fix bug #34611 : bevel overlap limit
...
The previous fix limited overlap, but is sometimes
too conservative, and artists want way to turn off
the limiting, so added 'Allow Overlap' option to
modifier.
2013-04-24 12:39:37 +00:00
Campbell Barton
245a175a00
fix [ #34657 ] Smoothing will not be updated in object mode, when hiding faces in edit mode and changing shape.
...
remove the option to skip hidden faces in BM_mesh_normals_update, use openmp to speedup recalculation for high poly meshes.
2013-04-24 12:07:13 +00:00
Campbell Barton
40c217cabd
fix for mistake in own recent commit r56249 with rna_EffectorWeight_path
2013-04-24 07:40:55 +00:00
Campbell Barton
3b8221045f
simple optimizations for bvhtree_from_mesh_faces() for editmesh, was quite inefficient (unneeded loops, not breaking out of face loop early).
...
also correct own oversight - use TRANSFORM_DIST_MAX_RAY rather then when checking for max value in snapDerivedMesh.
2013-04-24 00:25:12 +00:00
Tamito Kajiyama
ad6cc0d0ac
Fix for broken Material color/alpha/thickness modifiers.
...
Reverted part of the trunk revision 56234 (RNA attribute consistency edits).
2013-04-24 00:14:16 +00:00
Campbell Barton
b64ec6c51e
alternate fix for [ #24887 ] - r33294.
...
Casting a ray onto an editmesh was building a derivedMesh, raytree, then freeing for every ray-cast.
Noticed while using ruler+snapping in editmode.
Instead of attempting to align the MFace and edit-mesh tessfaces, just use editmesh for ray-casting.
2013-04-23 23:57:27 +00:00
Tamito Kajiyama
a1ed1dd26b
Fix for full-sample anti-aliasing (FSAA) not working with Freestyle.
...
Reverted the trunk revision 56136 and part of revision 56127 concerning the local Main
for Freestyle and temporary scene generation for stroke rendering.
The function do_merge_fullsample() in pipeline.c has access to the Scene of each Render,
so that the temporary Scene generated by Freestyle has to be kept for FSAA even after
stroke rendering has been done. By the same token, the local Main has been moved from
the BlenderStrokeRenderer class to Render. It is noted that free_all_freestyle_renders()
in pipeline.c is intended to get the temporary Scene of each Render released specifically
taking account of the FSAA case.
2013-04-23 22:40:13 +00:00
Campbell Barton
9465ecf634
use string escaping when renaming animation paths - BKE_animdata_fix_paths_rename()
2013-04-23 20:24:10 +00:00
Campbell Barton
7dde355185
fix [ #34958 ] keyframe many items would fail if there was a (") in the text.
2013-04-23 20:10:22 +00:00
Lukas Toenne
9afdda3689
Another little fix for #35010 . Added better labeling for node groups, so it's possible to see which node group type the sockets in the node tree view belong to. Otherwise would be virtually impossible to use it.
2013-04-23 17:49:26 +00:00
Campbell Barton
d119b5b197
remove negated string macros from BLI_utildefines.h, were unused and can just use !STREQ(...)
2013-04-23 16:27:45 +00:00
Sergey Sharybin
aa206bcd14
Strip unneeded folders and files from numpy
2013-04-23 15:51:41 +00:00
Campbell Barton
6ec2707ff1
fix [ #34894 ] Ruler/Protractor: While it's active, one can open the file browser for file saving + Crash
2013-04-23 15:42:41 +00:00
Sergey Sharybin
ddf01af533
Buildbot tweaks
...
Add numpy installation to blender player configuration,
this is so because player is building first and it installs
python, which prevented numpy installation from blender
configuration.
2013-04-23 15:29:39 +00:00
Campbell Barton
e5a968276e
fix [ #35055 ] Crash in Edit Source feature for multilevel menus
...
dont show the option when operating on a menu since its not supported.
2013-04-23 15:22:22 +00:00
Campbell Barton
c96ab45324
fix for issues with ruler
...
- disabling ruler snap wasn't setting the points depth back to its previous value before snapping.
- adding a new ruler uses the depth of the previous active ruler (fallback to view center as before)
- deleting the ruler now sets the prev/next ruler active.
2013-04-23 14:58:23 +00:00
Brecht Van Lommel
a7f5f6caab
Fix #35058 : Mesh > Edge/Face > Bevel would do vertex bevel if that was used in
...
the operator the previous time. However for these menus it makes more sense to
always use edge/face bevel and to leave vertex bevel for Mesh > Vertex > Bevel.
2013-04-23 14:12:12 +00:00
Campbell Barton
03905043c6
minor changes to get numpy working with locally bundled python.
...
- enable site-packages for bundled python distrobution, py3.2 had a problem where it would try to parse headers we didnt include, but its resolved now.
- workaround for glitch I was having on arch-linux where lib64 would be be used for the bundled python directory when it was just a symlink.
2013-04-23 13:51:20 +00:00
Antony Riakiotakis
8f486bdadc
Fix missing feature: fit mask stencil to aspect.
2013-04-23 11:34:18 +00:00
Antony Riakiotakis
47b172d39d
Fix issue reported by Campbell: Move texture existence check out of loop
...
and exit ovelay display early. Avoids possible garbage value reading.
Thanks!
2013-04-23 11:02:36 +00:00
Campbell Barton
a992ef13be
edit to r56235, min/max are common abbreviations used in rna.
2013-04-23 10:28:13 +00:00
Lukas Toenne
9ae63a3a42
Added registerable size properties for node types in RNA. This allows pynodes to define min/max and default width for nodes. Height is also registerable, but will be ignored for the standard node layout doable with pynodes atm (height is calculated automatically based on sockets and extra buttons). It might be usable in the future, for now just added for completeness.
2013-04-23 09:51:32 +00:00
Campbell Barton
53917c4e3a
rna attribute consistency edits, use common prefix for booleans.
2013-04-23 07:06:29 +00:00
Campbell Barton
511451c8b8
style cleanup
2013-04-23 05:29:06 +00:00
Joshua Leung
42063f36af
Bugfix [ #34869 ] Switching actions does not trigger animation refresh
...
Changing actions via RNA (or apparently from the Action Editor browse menu too)
didn't perform all the necessary updates/tagging/recalc needed to have the
results of the new action get immediately applied in the 3D view. This caused
problems for exporters, as the first frames exported would be incorrect (though
this could probably be worked around by manually stepping the current frame
forward one frame then back again).
2013-04-23 01:54:29 +00:00
Antony Riakiotakis
51010f5035
Allow hiding separate hiding of overlays on stroke.
2013-04-23 00:32:51 +00:00
Antony Riakiotakis
157244b13c
Add stencil control for mask overlay. Key combinations are the same as
...
regular stencil but use Alt as well, so Alt-Rclick is translation, Alt-
clamping to avoid scaling of stencil to zero.
2013-04-23 00:06:22 +00:00
Campbell Barton
0d14a1414c
fix for UI annoyance with popups (such as new image popup) opening their menus to the right of the button.
2013-04-22 22:32:42 +00:00
Antony Riakiotakis
e066b077fb
Overlay fixes:
...
* Clobbering enum
* Cursor overlay not dependent on mapping (again!)
* Brush overlay not updating when size is tweaked
2013-04-22 22:20:38 +00:00
Brecht Van Lommel
15521ab0ff
Fix #35056 : crash running bpy.ops.transform.rotate() in background mode.
2013-04-22 21:27:44 +00:00
Campbell Barton
38652023f0
fix [ #34706 ] Projection precision is zoom dependent
...
ED_view3d_project_float functions were rounding the results.
2013-04-22 21:13:30 +00:00
Brecht Van Lommel
84ba424213
Fix part of #34882 : mesh active face not drawing stippled with the mirror modifier.
2013-04-22 21:12:11 +00:00
Antony Riakiotakis
94281e1daf
Fix silly mistake, cursor overlay does not depend on any brush texture
...
mapping
2013-04-22 21:10:50 +00:00
Campbell Barton
263ea88392
fix/workaround [ #34983 ] bpy.ops.mesh.primitive_torus_add() ignores rotation-parameter
2013-04-22 20:53:30 +00:00
Antony Riakiotakis
36e476ede6
Overlay refactor:
...
Allow separate control for tex/mask/cursor overlay. This commit implements
separate overlays for mask textures and cursor curves. The user can turn on
and off separate parts of the overlay by using the appropriate widgets.
The cursor overlay widgets are located at the tool selection panel
Also fixed alpha masks not getting correctly masked and mask texture mapping
not having the correct update callback
2013-04-22 20:46:18 +00:00
Campbell Barton
3c67cf9594
from bug report [ #34984 ] bmesh.ops.recalc_face_normals() ignores use_flip=True
...
the name `use_flip` is misleading, option in fact tags faces that have been flipped, rename to `use_face_tag`
2013-04-22 20:15:42 +00:00
Campbell Barton
36e7a98459
fix [ #35007 ] clipping border error
...
add clip option to ED_view3d_win_to_ray(), ED_view3d_win_to_segment()
2013-04-22 20:00:37 +00:00
Campbell Barton
556705f84e
add clip_segment_v3_plane_n() to clip a line segment to planes (as used for view clipping).
...
use in ED_view3d_win_to_segment_clip() and fix error, was clipping by only 4 planes rather then 6.
2013-04-22 19:39:10 +00:00
Campbell Barton
bf51e80799
code cleanup: remove duplicate function _det_m3(), clip_line_plane was copying a vector for no reason.
2013-04-22 18:32:06 +00:00
Bastien Montagne
f9250ad515
Yet another Stupid Stub Fix™!
2013-04-22 17:51:08 +00:00
Campbell Barton
f09efad242
fix for scaling on individual center in mesh editmode when the object has non-unit matrix. (own error when adding support for axismtx in editmode)
2013-04-22 16:46:37 +00:00
Lukas Toenne
d56ceaab4c
Nicer registration mechanism for node categories. The lists of node categories and items are now stored in a dictionary with an identifier key, so they can be registered and unregistered individually. The Add menu is now persistent and gets extended with a draw function for each of the registered node category lists.
...
This allows pynodes to define their own list of node categories and items and register it at runtime without interfering with the standard nodes.
2013-04-22 16:25:35 +00:00
Campbell Barton
8be5f035f4
fix own mistake updating edge slide, even edge-slide was broken
2013-04-22 16:07:50 +00:00
Brecht Van Lommel
cd7fbf9749
Fix part of #34746 : crash importing certain collada files with armatures. It still
...
imports the armature wrong though.
2013-04-22 15:49:15 +00:00