Commit Graph

37569 Commits

Author SHA1 Message Date
Campbell Barton
3c6239f8be fix for unit system incorrectly replacint 'um' (unicode 'u'). with meters.
result was editing number buttons with um would give a python error.
2012-04-10 02:51:24 +00:00
Campbell Barton
7f8aaaf100 expose double limit used by auto-merge, addresses bug [#30884] 2012-04-10 01:45:22 +00:00
Campbell Barton
8138d261cd fix [#30878] Lightmap Pack > New Image does not work 2012-04-10 00:56:38 +00:00
Campbell Barton
cb6ab1df5e uv editor: don't draw active face stipple when the face isn't visible (error from bmesh merge), also replace 'em->bm' with 'bm' var while drawing. 2012-04-10 00:22:26 +00:00
Campbell Barton
95654de53d fix [#30880] Selected to Adjacent Unselected broken 2012-04-10 00:09:54 +00:00
Bastien Montagne
66ae32e035 Fix own mistake with kyrgyz iso code (did not seem to bother blender, though…). 2012-04-09 19:02:29 +00:00
Thomas Dinges
ed47be3bf2 Cycles/OpenCL:
* Reverted the general activation of __KERNEL_SHADING__.
Better to handle this in the device file. This way each platform gets specifically what it is capable of atm. 

* Nvidia has Shading + Multi Closure
* AMD (Apple) has only Clay Render
* AMD (non Apple) has Basic Shading
2012-04-09 17:44:33 +00:00
Daniel Genrich
2e08b763c5 Bugfix [#30835]: Cycles doesn't work with AMD Juniper GPU, compiller throws errors. Thanks for reporting!
Problem: AMD does not like something like this.
float3 *a;
flaot b = a->x;

You need to circumvent this by using:
float3 *a;
float b = (*a).x;
2012-04-09 15:31:31 +00:00
Howard Trickey
25492d1e4c Fix bug 30866: prevent 2-sided polygons from knife cuts.
Blender bmesh code assumes there aren't any of those, so crashed
when trying to delete a vertex involved in one.
2012-04-09 12:50:43 +00:00
Thomas Dinges
b0b64b2d80 Particle System UI:
* Negate label in the Vertex Groups panel was misleading to the string buttons, rather then the check boxes. Fixed it by having 2 columns.
Not ideal still, but better! :)

Issue reported by Tobias Kummer. Thanks!
2012-04-09 11:38:43 +00:00
Thomas Dinges
c3fc0faae2 Game Engine:
* Scons compile fix for svn 45479.
2012-04-09 11:03:58 +00:00
Campbell Barton
e9346e3cfd patch [#30669] Inconsistency of Transform Operator Descriptions
from Harley Acheson (harley)
2012-04-09 09:52:12 +00:00
Sergey Sharybin
48d71a40b1 Fixes for MovieClip strip user counter.
Currently copies behavior of clip and image editors:
- On file load, all strip will reference clip they're using
- On adding new strip, clip would be referenced only if it've got zero user
- On removing strip clip wouldn't be de-referenced to prevent clip editors
  pointing to zero-counted datablocks.
Not actually ideal from human beings point of view, but referencing/dereferencing
clip on each strip add/delete is getting crappy because of current logic of how
clip datablocks are referenced from clip editor (which is designed to work fine with
loading files without loading UI).
2012-04-09 08:45:51 +00:00
Campbell Barton
d5953568c8 use 'const float[3]' for derived mesh callback args. 2012-04-09 07:06:06 +00:00
Campbell Barton
f5bb4635c6 fix [#30852] Wrong Material ID applied for the new faces 2012-04-09 05:17:07 +00:00
Campbell Barton
9a6a791ff0 fix [#30865] Crash when browsing last operators in outliner (or by Python API)
Operator descriptions can be NULL pointers,
fix this by making use of PROP_NEVER_NULL flag, when its not set, generated string funcs will test for NULL.
2012-04-09 04:39:47 +00:00
Nicholas Bishop
b7113002db Fix bug [#30863] Array Modifier Start and End Cap cause crash when the Cap Object has vertex group
Another crash with array caps, was caused by not making a deep enough
copy of CD field.

Also fixed the type of the 'mask' parameter, was int where it should
be 64-bit.
2012-04-09 02:14:55 +00:00
Dalai Felinto
bcd6c84a66 bugfix [#30760] edit text property bug
backspace was messing up with utf8 text.
hijacking Blender utf8 functions

tested in CMake but I think scons should work too. No idea about pure 'make'
Happy Easter ;)
2012-04-09 01:42:44 +00:00
Francisco De La Cruz
891b46e074 Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression. 2012-04-09 01:24:56 +00:00
Jason Wilkins
dabcdc1532 Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions
This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.
2012-04-09 01:16:19 +00:00
Bastien Montagne
35b4836711 Fix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal Render.
We need both a new MLOOPUV and MTEXPOLY layers with generated geometry! For some reason, the loopuv alone seemed to work in 3D view, but definitively not in render.
2012-04-08 19:50:00 +00:00
Nicholas Bishop
1a9a8406fe Tiny fix for console warning, remove period from a description in Cycles. 2012-04-08 16:19:13 +00:00
Campbell Barton
01e55b6fc3 code cleanup: remove unused imports/defines + other redundant code. 2012-04-08 13:11:25 +00:00
Campbell Barton
4fc6ef1cf5 style cleanup: pep8 some C/style 2012-04-08 08:09:37 +00:00
Campbell Barton
c1e475e527 code cleanup:
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
2012-04-08 07:34:09 +00:00
Francisco De La Cruz
68daca1cbf Fix [#30853] "Merge At Last" is missing in multicomponent mode
Mode selection inverted in multicomponent mode including vertices.
2012-04-07 23:31:15 +00:00
Francisco De La Cruz
cbd95d8159 Fix [#30855] Vertex Slide not using the active vertex
Now uses the last selected vertex. 
Also, snapping thresholds are now dynamic and the tool's operation should be more consistent with multiple edges selected on invocation.
2012-04-07 19:53:39 +00:00
Thomas Dinges
fd37970b80 * Replace some more Blender 2.5x with Blender 2.6x and some code cleanup. 2012-04-07 18:39:29 +00:00
Thomas Dinges
c60e7cd67b Collada:
* Save "Blender 2.6x" if built without BUILDINFO.
2012-04-07 18:32:53 +00:00
Thomas Dinges
3d4a14149b Scons:
* Some code and comment cleanup
* Remove cmake equivalent variable comments
* Remove some non used parameters from config files and btools: WITH_BF_FMOD, BF_VERSION.
* Remove some commented non-used variables
2012-04-07 18:26:54 +00:00
Sergey Sharybin
fec5221a65 Disabling color channels for float images in clip editor now works fine. 2012-04-07 16:59:06 +00:00
Sergey Sharybin
7018345bee Fixed deadlock on loading file without number group into movie clip editor 2012-04-07 16:37:55 +00:00
Campbell Barton
a955a86335 fix for passing float to RNA_def_property_ui_range() int argument. 2012-04-07 15:46:26 +00:00
Sergey Sharybin
c579625265 Fix for reconstruction menu which still was using set_floor operator instead of set_plane 2012-04-07 15:20:20 +00:00
Thomas Dinges
32c5b09192 Fix [#30851] Mesh Editmode: Specials-menu lost "Subdivide smooth"
* Subdivide Smooth was missing in the edit mode specials menu since B-Mesh merge.
2012-04-07 14:04:52 +00:00
Campbell Barton
99aaf0812c fix for vertex slide not taking object transformation into account.
also make the shortcut 'Shift+V'
2012-04-07 13:42:00 +00:00
Campbell Barton
8fa17c5362 code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
2012-04-07 12:37:15 +00:00
Francisco De La Cruz
6482351ed9 Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
-
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"
2012-04-07 03:15:20 +00:00
Campbell Barton
b9f9aa947a dont display any file as a preset in the menu (limit to *.py, *.xml)
backup files like .py~ for eg had their own menu entries which got annoying.

added optional filter_ext function callback argument to Menu.path_menu() to avoid displaying invalid types.
2012-04-07 02:19:11 +00:00
Alexander Kuznetsov
628b183d98 Temporary gzopen fix for for Windows
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName.

Strangely zlib fails on gzclose if file descriptors are used.
2012-04-06 21:11:10 +00:00
Brecht Van Lommel
ee307bec88 Fix #30798: when linking a datablock, it got simply added to the back of the
list, now the linked datablocks are sorted by name too (but still appear after
the non-linked datablocks).
2012-04-06 16:19:30 +00:00
Brecht Van Lommel
f7a0499f16 Cycles: fix nan's generated by glossy BSDF in some cases. 2012-04-06 16:08:14 +00:00
Daniel Genrich
f349aeacf1 Smoke: Use better standards for inflow
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1
2012-04-06 12:50:46 +00:00
Campbell Barton
11a4dab32b bmesh minor change - avoid increasing array sizes one by one and use iterator macros. 2012-04-06 11:50:16 +00:00
Joshua Leung
186f018e6e Animation version patching for Absolute Shape Keys ("speed" curve ->
"eval_time") now works
2012-04-06 11:45:45 +00:00
Francisco De La Cruz
6408813f6f Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.
Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.
2012-04-06 11:24:42 +00:00
Thomas Dinges
3d893a926e Windows x64 / Scons:
* Enable WITH_BF_OPENJPEG per default, it was enabled for 32 bit systems, why not on x64? 
* This brings back JPEG 2000 support for win x64.
2012-04-06 10:57:22 +00:00
Campbell Barton
831f0e6283 option to have inset face select the interior faces (mango request) 2012-04-06 10:33:45 +00:00
Thomas Dinges
732806225d Ghost:
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:
2012-04-06 10:24:15 +00:00
Campbell Barton
58064bdfc4 code cleanup: add doxygen headers to bmesh operator files, also add own include so definitions dont get out of sync. 2012-04-06 09:21:19 +00:00