Commit Graph

35454 Commits

Author SHA1 Message Date
a2bf2ba7df Fix transfer weight tool enum properties all showing question mark icons,
these should have no icons.
2012-11-30 18:54:56 +00:00
5446dc0bf3 fix for various asserts running operator tests - not likely any of these would cause real user bugs though. 2012-11-30 16:41:43 +00:00
d72a6c3018 fix for another error in my own recent commit, beauty fill crashed. 2012-11-30 16:15:49 +00:00
Lukas Toenne
46636a601e Removed unused register_ lines from for and while loop nodes. These nodes were already commented out and removed in r51576. 2012-11-30 16:03:34 +00:00
ca64979236 fix own mistake in recent commit - entering editmode with a shape key crashed. 2012-11-30 14:27:25 +00:00
a02e51feba Fix #33357: Strip modificator Bright/Contrast doesn't work correct for byte images 2012-11-30 13:42:52 +00:00
7fa7ce297e Map Range: added the same infinity clamping for Z buffer as normalize node.
Think should be pretty much harmless since if this node was used for buffers
with infinities it already showed artifacts. Now it should be more useful for
mapping Z buffers.
2012-11-30 13:17:19 +00:00
4f8f5746a8 Normalize node: clamp infinities to 0/1 (depending on sign)
The same behavior was in old compositor system and it makes more sense
when you're normalizing Z buffer.
2012-11-30 12:48:30 +00:00
1db677a51c Final render wouldn't set compositor's update_draw callback, so added NULL check
Seems no extra notifiers should be added here.
2012-11-30 11:26:57 +00:00
d2a741048a Fix #33353: Smoke color problems with adaptive domain
High resolution cache didn't always read all written data fields which caused colors to get messed up.
2012-11-30 11:01:14 +00:00
323e86694e Compositor should never add notifiers by himself, notifiers should be added
from main thread using job update callback.

Added new execution-time callback to bNodeTree which marks job to be updated.

The code here could be a bit not so obvious because in some cases job update
callback need to merge local tree, but it's only needed for old compositor
system which is gonna to be removed soon, so decided not to bother with
cleanup now. Removing old compositor system will also allow to drop stats_draw
callback from bNodeTree.

This should fix following bugs:
2012-11-30 09:12:10 +00:00
ad2b41bc4b add margin to view fitting view-all/local-view (wasn't obvious with the models I was testing with). 2012-11-30 06:55:36 +00:00
ef08e31134 fix for another glitch caused by r51636, setting the camera view with quad-view enabled would zoom all non camera views.
Theres no need to draw other views so skip that.
2012-11-30 06:39:24 +00:00
6bb45495d1 fix for r51636 - making the lens work in ortho mode made view-all and local-view operators give bad zoom levels. 2012-11-30 06:10:01 +00:00
7a1dfa298a make setting local view take the view lens int account. 2012-11-30 05:29:34 +00:00
8c3df03c5f make previous commit work when the camera is locked to the view (in that case use the camera lens, not the viewport lens value). 2012-11-30 04:40:32 +00:00
c3406db4f5 fix for view-all operator not taking the view-angle into account. 2012-11-30 04:25:58 +00:00
5321669ef6 Fix render from local view 3d viewport not using lamps in render.
Fix missing GLSL updates for objects without materials.
2012-11-29 19:04:33 +00:00
ce3ea8942c remove unneeded mesh->bmesh conversion code that copied BMLoop data in a separate loop (since there is no longer pre-allocated loop data on the new BMLoops). 2012-11-29 16:36:16 +00:00
7d62e6d94a Fix navmesh after recent bmsh api changes. 2012-11-29 16:34:09 +00:00
07ccd3ee3f fix [#33029] Applying modifier leaks memory
Thanks for Sergey for finding the bug & patching, This fix works a bit differently.
Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-11-29 16:26:39 +00:00
fb27a69124 Bevel: partial fix for distortion (bug 33280).
Sometimes it is impossible to have same offset from
both edges that are on angled faces. The fix here
at least doesn't distort the non-beveled part of the
model, and looks much better than before on bug
example, but is still not perfect.
2012-11-29 13:54:39 +00:00
4e981dc566 Fix #33345: Crash when using bpy.ops.sculpt.brush_stroke
It was kind of a regression in behavior in svn rev46862 which made it so
blender crashes if stroke is done from the script.

It should bring back the behavior back and made it so blender doesn't crash,
however it's probably not full fix and some further work is needed to make
call of stroke operator usable from the addon.
2012-11-29 13:24:02 +00:00
149b607141 py/bmesh api: add radial prev/next attributes to the loop 2012-11-29 05:54:35 +00:00
5ce13d0c6c BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed double-click keyboard events. 2012-11-29 05:21:24 +00:00
858149d7c7 bmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view or re-calculate face tessellation from python.
add py template for editing meshes in editmode.

also remove double call to CTX_wm_region which does a string lookup.
2012-11-29 05:02:06 +00:00
ede703ab85 some minor edits
- script stub printed resource warning with py3.3 (not closing a file).
- bmesh customdata layer access had bad docstring.
- float/double conversion warnings in sequencer code (use doubles since result is double)
- remove unused var
2012-11-29 03:55:07 +00:00
c86045d7a2 bmesh py api: use generic checking macros to see if an object if from the same bmesh.
- was such a common operation so this saves having exceptions set inline all over the place.
2012-11-29 03:25:37 +00:00
078487e98e bmesh py api: add BMeshFaceSeq.active attribute- bm.faces.active 2012-11-29 02:44:06 +00:00
9653c929ed skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled. 2012-11-29 02:37:39 +00:00
0aad9f674a Move to Layer: optimization so that the first change in the popup menu does
not do an undo push & undo step, there's no reason this is needed.

In principle this particular operator doesn't ever need an undo on changes,
even for further steps, but that's harder to solve.
2012-11-28 16:42:39 +00:00
96136d3d88 bmesh operator py api:
- fix for incorrect bmesh operator type-check for mapping slots.
- fix for python causing an assert when invalid args are given.
- fix memory leak with some exceptions.
2012-11-28 15:07:57 +00:00
cac253a502 fix for minor annoyance - when extruding a circle there would always be one face flipped, now edges are all ordered in the same direction. 2012-11-28 14:15:54 +00:00
1212237ae4 Fix normal compositing/shader node not showing normal widget.
It would actually show after save and reload, the subtype and min/max were
not properly initialized for node output sockets.
2012-11-28 13:20:45 +00:00
b91cf60962 Fix #33330: Proxies are not built in Sequencer if preview is visible
Was own regression when was solving conflict between sequencer preview
and compositor jobs. Made it so now only compositor jobs are being
killed from sequencer preview.
2012-11-28 09:36:23 +00:00
2eb21ef30c Fix #33295: Shifted movie strip when rendering <100% resolution for strip with complex transform
That was kind of a regression since fix for #32091: Crop and offset coordinates changes proxy
render settings on image strips, which is now fixed in other way.

Namely Offset/Crop values are filling in 100% scene resolution values, but getting scaled to
proxy / scene percentage values.
2012-11-28 09:01:00 +00:00
0b9be70591 typo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN when invalid args are given. 2012-11-28 06:43:04 +00:00
71e7f9028f Copy face attributes when creating new faces in BMO_symmetrize
Fixes bug [#33269] Symmetrize doesnt honor shadesmooth
projects.blender.org/tracker/index.php?func=detail&aid=33269&group_id=9&atid=498
2012-11-28 05:07:04 +00:00
e35b235925 fix [#33320] Decimate modifer in collapse is inconsistent when limiting to a vertex group 2012-11-28 02:49:06 +00:00
c5a8bd498d use radians for 'spin' bmesh operator (since the rest of the py api uses radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency. 2012-11-28 00:47:33 +00:00
8ecce451ab bmesh operator naming - use clearer names for args eg: (mat -> matrix, use_singleedge -> use_single_edge)
also remove duplicate docs for operator arg formatting.
2012-11-28 00:16:06 +00:00
69948150ad improve docstring for BMO_op_vinitf(). 2012-11-27 23:37:02 +00:00
134bbf3791 GPU: remove GPU Mipmap Generation option and just always enable it, it's an old
OpenGL 1.4 feature that is stable, there's no reason not to use it. Also fixed
GPU mipmap generation not working in the game player.
2012-11-27 22:51:28 +00:00
390ddd9103 Fix #33168: collada export added incorrect -material postfix to material names.
In the bug report it was also mentioned that special characters should be
preserved for names, however the collada 1.4 specification does not allow this.
Version 1.5 does, but we are still writing 1.4 files and files with such special
characters will then fail to open in some applications.
2012-11-27 21:26:06 +00:00
a31cc2aeb7 Fix #33326: outliner numpad minus collapse followed by numpad plus expand did not work. 2012-11-27 20:12:00 +00:00
e066601fdd Fix #33324: Auto IK not working after recent changes. iTaSC it seems never worked
with Auto IK, now that's fixed too.
2012-11-27 20:07:12 +00:00
936fca57c3 BGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah Lane (solarlune). The embedded player now treats KM_DBL_CLICK the same as KM_PRESS. 2012-11-27 17:41:39 +00:00
5a6d695218 CMake: hide some unnecessary LLVM/OSL/EXR prints. 2012-11-27 17:30:46 +00:00
c0a7830733 fix crash with path conversion, not all materials have nodes 2012-11-27 17:21:58 +00:00
2dbbcb4c73 add osl shader scripts to bpath walker (so making paths absolute or relative applies to shader paths too).
also remove "RNA_types.h" include from BKE_nodes.h.
2012-11-27 16:19:52 +00:00