Campbell Barton
c8bd3b7cf8
fix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()
2012-10-04 09:55:10 +00:00
Campbell Barton
c872ffd94f
code cleanup: make the behavior of set_current_material_texture() clearer and remove redundant NULL check there. also small changes to ui_draw_but_HSVCIRCLE().
2012-10-04 09:43:27 +00:00
Campbell Barton
753b627cb6
avoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.
2012-10-04 09:33:14 +00:00
Campbell Barton
e2bf6eacb3
use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.
2012-10-04 09:20:58 +00:00
Campbell Barton
f609d0f22e
code cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre-bmesh blender version, remove MODSTACK_DEBUG, was never used.
2012-10-04 09:12:08 +00:00
Thomas Dinges
7f5603607c
* Trunk is open again, BCon 1.
2012-10-04 08:56:37 +00:00
Dan Eicher
c0efd2a3e8
colormanage_colorspace_get_named() can (and does) return NULL, added checks to prevent null pointer dereference if the named color profile isn't found
2012-10-03 21:52:36 +00:00
Sergey Sharybin
0ef61bb816
Correction to commit rev48866 -- convert_tface_mt must happen before BKE_mesh_do_versions_convert_mfaces_to_mpolys
...
Discovered when were looking into crystal_cube.blend from our regression files
collection. Now it should look the same as in 2.62 release. 2.63 release wouldn't
work correct for this file because of wrong mtface->material conversion after
bmesh merge.
2012-10-03 12:07:29 +00:00
Sergey Sharybin
98698753b1
Fix #32742 : Motion path calculation on linked armatures locks up Blender
...
Issue was happening when linking armature object and making proxy and was
caused by not copying visualization settings in BKE_pose_copy_data.
This lead to deadlocks in motion path drawing code.
After discussion with Campbell decided it is crucial fix since it fixes
bug appearing in really common scenario of using armatures.
2012-10-03 08:51:05 +00:00
Campbell Barton
916a58f4e0
fix [ #32743 ] Freed memory access when freeing materials.
2012-10-03 07:35:29 +00:00
Campbell Barton
b288bc4ea4
fix [ #32739 ] Glare node does "add" instead of "lighten"
2012-10-03 07:33:04 +00:00
Sergey Sharybin
8b718bee47
Entering Bcon5 stage!
...
- Bump version to 2.64
- No version char for this cycle
- This is finally release stage!
Splash would be commited in some hours from now.
Thanks everyone!
2012-10-02 16:39:37 +00:00
Campbell Barton
62c151bd1c
freeing node trees no longer decreases their user counts, this cause causing invalid memory access when freeing the blend file.
2012-10-02 13:59:05 +00:00
Campbell Barton
75fff05348
revert fix for [ #31555 ] Username with special chars in Windows 7
...
this breaks and causes bug: [#32720 ], where sys.stdout becomes invalid and print() does nothing.
On investigation - python is not getting the environment variable from blender (aparently because its a DLL?) so this should be resolved rather then overwriting sys.stdout.
2012-10-02 13:24:28 +00:00
Jeroen Bakker
e795b8410b
* fix for regression test [compo_map_uv.blend]
...
the wrapping was resized to fit the uv map. this step was wrong and has
been deleted.
2012-10-02 11:37:15 +00:00
Jeroen Bakker
ecbeb0f575
* fix for regression file [compo_map_zcombine_cubes.blend]
...
the alpha mix formula was wrong. updated it.
Be aware that the regression file does not take the alpha into account,
but it should. or at least one z combine should and the other not.
this fails in 2.63a.
- At Mind -
2012-10-02 10:03:16 +00:00
Thomas Dinges
c17cf36853
UI:
...
* Fix RNA name for "turbulence_strength" property.
2012-10-02 06:24:02 +00:00
Campbell Barton
636a8d49a6
fix for crash in own recent masking commit with 'flood fill' operator.
2012-10-02 05:12:49 +00:00
Campbell Barton
16c4795e96
fix for mesh_foreachScreenEdge__mapFunc running the callback with V3D_CLIP_TEST_RV3D_CLIPPING'd verts. (used uninitialised stack memory)
2012-10-02 04:31:51 +00:00
Campbell Barton
dc8340fa33
correct some include dirs not being included as SYSTEM paths in cmake.
2012-10-02 03:18:48 +00:00
Campbell Barton
959dc02f96
fix for error in mask drawing, was using glVertex3fv on 2d verts. (buffer overrun)
2012-10-02 01:10:18 +00:00
Campbell Barton
9a8e82ae56
fix for crash loading durian file '08.5e_comp.blend' - external data pointer for face data was NULL.
2012-10-02 00:54:41 +00:00
Campbell Barton
0d647f68a3
fix: path looper was checking the path of old tessface external data rather then loop data. (missed with bmesh upgrade)
2012-10-02 00:28:01 +00:00
Brecht Van Lommel
4572a82de7
Fix #32712 : non-multilayer openexr file save for a single channel image would
...
write wrong colors for float and crash for half-float.
2012-10-01 20:21:50 +00:00
Sergey Sharybin
20ca67bc35
Fix #32728 : File Output node always save as RGBA, even when RGB is selected
...
Seems to be a regression in new compositor system -- wrong number of planes
was using for image buffer allocation.
2012-10-01 17:38:22 +00:00
Campbell Barton
35ae7dae9e
fix for own bug in bmesh api, setting a byte string customdata layer assumed the input data was 256 length, assigning smaller values would read past the buffer.
2012-10-01 15:39:29 +00:00
Campbell Barton
4eb8bceaf8
quiet some warnings.
2012-10-01 15:27:50 +00:00
Campbell Barton
7d1da8b60a
fix for unlikely crash if smoke collision data couldn't be read. (pointer was used before doing NULL check)
2012-10-01 15:26:48 +00:00
Campbell Barton
71499c16da
possible fix for crashing when re-doing mouse select operator, there was a missing NULL check on space-image.
2012-10-01 15:17:03 +00:00
Campbell Barton
c01dc37e7a
fix [ #32716 ] continuous grab bevel inset faces
2012-10-01 14:51:53 +00:00
Campbell Barton
3563904050
revert r50969, gives problems with weight paint + modifiers, need to investigate further after release.
2012-10-01 14:23:57 +00:00
Sergey Sharybin
1795bd600b
Fixed memory leak in CustomData_interp in cases when sources count is more than
...
SOURCE_BUF_SIZE and there's no more destination layers in main cycle of this function.
2012-10-01 14:15:05 +00:00
Campbell Barton
b04b8fd0e8
fix for crash found when attempting to setup testing environment to find crashes :)
...
scripts that have `Register` enabled and load another blend file would crash blender.
2012-10-01 14:14:21 +00:00
Thomas Dinges
fbc056c9f5
File Output Node:
...
* Small cosmetic change, move up/down buttons next to the list, instead of beneath.
* Removed redundant "uiLayout" declarations.
2012-10-01 14:02:47 +00:00
Sergey Sharybin
e7089c0643
Disable render part of display transformation for icon/texture preview
...
This change mainly caused by too dark icon generated for texture brushes,
but also makes it a bit more straightforward from what's going on point of view.
2012-10-01 12:41:20 +00:00
Sergey Sharybin
3e24c25464
Fix #32686 : MovieClip background initialisaton error
...
Undistorted rendering with original footage settings does not require proxies to be enabled.
2012-10-01 11:26:52 +00:00
Sergey Sharybin
1d7bf727ff
Fix #32695 : Can't disable color management for 3D view
...
Made it so viewport will disable color management if display device set to None.
This solves couple of regressions, mainly related on old BGE files and made
None display behave exactly as old color management disabled.
2012-10-01 11:14:02 +00:00
Campbell Barton
c9c76a9a68
add compiler hints that failing to create a bmesh face is unlikely.
2012-10-01 11:12:49 +00:00
Campbell Barton
b6bf0e4952
fix [ #32713 ] Crash with modifiers + GLSL mode
...
crash caused by own commit r50969, the fix exposed a crash in an area of code that must have never been used before.
2012-10-01 11:05:09 +00:00
Campbell Barton
da656957c3
fix [ #31654 ] Non-proportional edge slide behaving incorrectly.
2012-10-01 10:43:52 +00:00
Campbell Barton
1a19cbb166
fix for some errors when unlinking.
...
- movieclip unlink didn't clear node ID pointers from the scene (leaving dangling pointers).
- mask datablock unlink was clearning references from scene nodes twice.
2012-10-01 07:54:37 +00:00
Antony Riakiotakis
323ad98496
Fix: gpu_colors_enable could cause 3d display corruption because it always enables glColorMaterial. Make sure to call gpu_colors_disable even if we don't have a mask layer, to match gpu_colors_enable above
2012-10-01 07:53:54 +00:00
Campbell Barton
4b0e41b0a7
fix [ #32709 ] Color mix node produces artifacts from other frames
2012-10-01 06:34:02 +00:00
Campbell Barton
ae32c946e1
style cleanup: define float sizes for interpolation functions, add retirn's on newlines (to better add breakpoints).
2012-10-01 06:18:45 +00:00
Campbell Barton
df298490b8
mask data is no longer automatically added when sculpting (except when there is a multi-res modifier).
2012-10-01 05:19:57 +00:00
Campbell Barton
a9efe26ab8
DM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should have been added during bmesh merge)
2012-10-01 04:59:21 +00:00
Campbell Barton
ded317840b
fix for leak when freeing mask data in editmode.
2012-10-01 04:00:41 +00:00
Campbell Barton
a5367802ac
fix for crash deleting higher multi-res levels without mask data.
2012-10-01 03:45:31 +00:00
Sergey Sharybin
168ffbfb67
Revert changes made to support diffuse color when sculpting
...
This changes are not stable enough and trying fix it could backfire in some
other regressions which isn't wanted so much close to the release.
This means objects will have gray color as diffuse which becomes darker in
masked areas for 2.64.
Proper fix is aimed for 2.65.
This commit reverts 50827 and 50898.
2012-09-30 15:04:46 +00:00
Campbell Barton
4b6be3c19b
fix for using uninitialized blur falloff for dilate/erode node.
2012-09-30 12:24:29 +00:00