Campbell Barton
da849bbfc0
prepare for flagging the bmesh has having invalid index values, so we can skip looping over all elements if its already valid.
...
- went over every BM_SetIndex call and added comments about its use, if its setting dirty values or correct ones.
- replace loops over all elements _just_ to set index values, with a new function, BM_ElemIndex_Ensure(...), this will eventually only initialize values when they are dirty.
2011-11-16 12:38:40 +00:00
Campbell Barton
dfe90e54cd
set the index on newly added vert/edge/faces
...
added BM_ElemIndex_Ensure(...), not used yet.
2011-11-16 06:17:56 +00:00
Campbell Barton
c00c0134e0
svn merge -r41847:41899 ^/trunk/blender
2011-11-16 03:10:15 +00:00
Joshua Leung
9f46ca46a6
Partial Bugfix: [ #29229 ] Outliner RMB commands unexpected results
...
This commit implements the Unlink and Make Single User capabilities for World
datablocks in the Outliner
2011-11-16 00:13:38 +00:00
Brecht Van Lommel
0792ab3652
Fix #29232 : on background render where it could not find the .blend file, the
...
default cube would be rendered instead, now stops processing arguments after
failed file load.
2011-11-15 23:03:35 +00:00
Brecht Van Lommel
63ff37c6d4
Fix #29278 : cycles crash with displacement method both.
2011-11-15 22:09:30 +00:00
Jens Verwiebe
bff59a5b2e
OSX: buildfix for itask on 10.5.sdk
2011-11-15 21:55:07 +00:00
Brecht Van Lommel
8db117a81a
Fix #28936 : UV unwrap issue with meshes with inconsistent normals.
2011-11-15 21:16:37 +00:00
Sergey Sharybin
541b19c701
Fix issue with tracks color presets
2011-11-15 20:26:44 +00:00
Brecht Van Lommel
4cc8677f1c
Fix: part of 3d view header disappears when collapsing menus.
2011-11-15 20:19:15 +00:00
Sergey Sharybin
e8502b7f5f
Typo fixes in descriptions.
2011-11-15 20:02:45 +00:00
Brecht Van Lommel
4c12550fe8
Fix #29208 : Text.clear() and Text.write() did not redraw text editor.
2011-11-15 19:46:56 +00:00
Guillermo S. Romero
4f743dd0cc
SVN maintenance.
2011-11-15 19:37:09 +00:00
Brecht Van Lommel
677c67c2cf
Fix #29275 : vertex/edge/face selection buttons showing squashed in 3d view header.
2011-11-15 19:25:28 +00:00
Brecht Van Lommel
ef6eab3ce4
Cycles: move clew into cycles namespace to avoid conflicts, and fix mesh
...
displacement panel showing with blender internal.
2011-11-15 19:23:35 +00:00
Brecht Van Lommel
c7ec8a2e54
Fix for #29165 bugfix: adding nodes from shift+A menu in node editor did nothing.
2011-11-15 18:24:17 +00:00
Brecht Van Lommel
e78cad5540
Fix build issue on windows, M_PI => M_PI_F.
2011-11-15 18:01:52 +00:00
Campbell Barton
0c7a25cd0e
patch [ #28993 ] wm_window_match_do(): Fix crash on null pointer dereference
...
from Ola Jeppsson (olajep)
also some cleanup edits
2011-11-15 16:38:48 +00:00
Campbell Barton
f403d9a2b1
replace rna description string limits with rna define RNA_DYN_DESCR_MAX
2011-11-15 15:24:57 +00:00
Brecht Van Lommel
db8024f4b5
Fix #29259 : cycles issues on certain processors. Now two versions of the kernel
...
are compiled, one SSE optimized and the other not, and it will choose between
them at runtime.
2011-11-15 15:13:38 +00:00
Campbell Barton
2bc7821913
add support for python __doc__ comments in menu classes showing in the tooltip, since menus are used as buttons too.
2011-11-15 14:58:14 +00:00
Campbell Barton
47ad078402
show tooltips for menus, currently works for operators and enum properties which are can be accessed as menus from the UI (camera overlay enum for example)
2011-11-15 14:20:57 +00:00
Campbell Barton
205b554bef
access mesh string data layer as bytes since this is low level data storage
2011-11-15 14:01:24 +00:00
Campbell Barton
3ecb7b951e
fix [ #29272 ] Dynamic Paint crashes on duplicating a particle system
...
smoke had this same bug too
2011-11-15 13:45:24 +00:00
Sergey Sharybin
eb1e24bbe6
One more description became easier to understand
2011-11-15 12:32:58 +00:00
Campbell Barton
735eb3774b
patch [ #27708 ] API for adding mesh properties
...
from Geoffrey Bantle (briggs)
2011-11-15 12:28:13 +00:00
Sergey Sharybin
3d724d8df5
Camera tracking: made some options more easy to understand
...
- Changed some names so now people who aren't really familiar with
motion tracking can understand what they exactly means
- Also cleaned up and rephraded some descriptions
- Changed behavior of operator which creates empty for 2d tracks:
now it operates on all selected tracks rather than active track only
- Added checkbox to enable/disable rotation stabilization
2011-11-15 12:20:58 +00:00
Joshua Leung
355710f414
Follow-up commit to r.41765
...
Reviewed behaviour of selection operators, and decided that ultimately, it's
better if select left/right/column didn't change the channel selections at all.
This is because with the highlighting of the active curve nowadays, it's a bit
distracting to suddenly lose track of it after performing these operations, when
you may have been trying to select all of the keyframes on that curve for
further tweaking.
2011-11-15 12:02:44 +00:00
Campbell Barton
6a340c1eb0
py/rna api was calling RNA_property_type more often then needed (no functional change)
2011-11-15 11:56:54 +00:00
Joshua Leung
1a47f9516e
Formatting cleanup. No functional changes
2011-11-15 11:34:49 +00:00
Joshua Leung
5f18cc2238
Bugfix [ #29264 ] Superfluous control in Maintain Volume constraint
2011-11-15 11:15:37 +00:00
Campbell Barton
cc93e476ab
correct off by one error in previous commit, also add assert incase idproperty length gets out of sync.
2011-11-15 11:04:29 +00:00
Campbell Barton
ea02534722
missed these while rna renaming.
2011-11-15 10:49:02 +00:00
Campbell Barton
3cf56d46d1
add IDP_EqualsProperties support for comparing non-null terminated byte strings.
2011-11-15 10:32:08 +00:00
Campbell Barton
4de917326b
de-duplicate some idproperty py api code, also improve some exception messages.
2011-11-15 10:19:44 +00:00
Bastien Montagne
995ca539d0
Fixed compilation error in writeffmpg.c (caused by recent IDProp changes).
2011-11-15 10:01:18 +00:00
Bastien Montagne
ba9b5f41ec
Minor: added the description of expected string format for the template_list's "prop_list" parameter (was missing in bpy ref...).
2011-11-15 09:42:00 +00:00
Campbell Barton
d4d80ee0a1
rename IDProp.c/h to idprop_py_api, since it was same name as BKE idprop.c with case changed.
2011-11-15 09:28:15 +00:00
Campbell Barton
8623935aa8
pass a pointer to IDP_New's IDPropertyTemplate rather then a copy.
2011-11-15 09:22:52 +00:00
Sergey Sharybin
df6aa48eb9
Fixed typo in previous commit
2011-11-15 09:21:22 +00:00
Campbell Barton
2ab1732613
support for non-null terminated byte strings in id properties (as a subtype of IDP_STRING types)
2011-11-15 09:12:10 +00:00
Sergey Sharybin
ae046bc0eb
Patch from nico_ga: libmv can be compiled with icc now
2011-11-15 08:43:28 +00:00
Sergey Sharybin
5cf345f860
Request from nico_ga: expose WITH_BF_STATIC* variables to linux-config so
...
builders can easily find interesting for them flag.
2011-11-15 08:43:23 +00:00
Campbell Barton
697726468e
fix for own error, BLI_replace_extension would strip the filename if there wasn't already an extension.
2011-11-15 07:35:28 +00:00
Campbell Barton
ab3295db33
fix for crash in blenderplayer when the engine isnt fount.
2011-11-15 07:30:26 +00:00
Sergey Sharybin
a3bbae9892
Workaround for half-transparent windows when running blender-softwaregl
...
and compiz effects are enabled.
Thanks to Nicholas Bishop for pointing in possible solution of this issue.
2011-11-15 07:28:18 +00:00
Campbell Barton
d6c1009195
bytestring support for py/rna - this is so py can access data which
...
isn't meant to be accessed as unicode text.
2011-11-15 07:09:41 +00:00
Sergey Sharybin
8a0da0b59e
Fix #29202 : Crash - VSE Cross strip probably leads to this
...
Crash was caused by several conditions:
- Frame which failed to decode tried to be converted to RGB colorspace
and some filters like deinterlacing used to be applied as well
(it's avscale stuff sws_scale where crash happened).
- In some cases it happened reading of freed memory when calling
sws_scale function. Looks like it happened because of freeing
packet on which decoding of frame finished and reading next packet.
Solved this two issues by making YUV->RGB conversion as soon as
frame was decoded in ffmpeg_decode_video_frame (such postprocessing
used to happen in callee of this function ffmpeg_fetchibuf), so now
sws_scale would be called before freeing packet on which decoding of
frame finished and it wouldn't be called in cases when decoding of
frame failed.
If decoding of frame failed, it'll be black ibuf returned to the sequencer.
2011-11-15 07:00:01 +00:00
Sergey Sharybin
e8906f5254
Fix #29253 : 3D Manipulator: "Active Element" not supported for curves
...
This funcitonality simply wasn't implemented for curves yet, implemented it now.
2011-11-15 06:37:47 +00:00
Sergey Sharybin
4371db4b33
Fix #29165 : Arrow keys not working correct in Compositing Node Editor
...
Bug is caused because of how ui_handle_menu_event works -- it makes quite tricky check
in which direction movement happens depending on button type.
Checked usages for uiItemV and found that it's used in node_editor only, so changed type
of button used there, so ui_handle_menu_event works would detect right direction of
movement.
2011-11-15 06:33:33 +00:00