blender.git
7 years agoFix #37153: Bool union of 2 planes makes Blender 2.69 RC2 hang
Sergey Sharybin [Sun, 20 Oct 2013 10:13:19 +0000 (10:13 +0000)]
Fix #37153: Bool union of 2 planes makes Blender 2.69 RC2 hang

Fix deadlock in Carve when rescaling to zero scale.
basically, scaling to zero scale is not what we want :)

Boolean result could still be unpredictable coz plane is
not a closed manifold.

7 years agoFix compositor rendering scenes multiple times in some cases
Sergey Sharybin [Sun, 20 Oct 2013 01:09:25 +0000 (01:09 +0000)]
Fix compositor rendering scenes multiple times in some cases

Issue was caused by Blender Internal changing LIB_DOIT flag
for scene when it gets updated for new frame. This leads into
conflict with flag used for tagging scenes fr render,

For now made it so nodes are being tagged instead of scene.
Only none node from those who're sharing the scene will be
tagged. And rendering scenes for node tree now checks for
node flag instead of scene's datablock one.

Ideally this tag would be replaced with scenes stored in an
array, but then it's not so clear how to check which node
to update.

7 years agoFix for wrong implementation of mmap in lock-free allocator
Sergey Sharybin [Sun, 20 Oct 2013 00:12:54 +0000 (00:12 +0000)]
Fix for wrong implementation of mmap in lock-free allocator

- Freeing was not using proper block length
- Duplicating memory block was not aware of
  mmaped blocks.

7 years agofix [#37145] "Triangulate Face" crash in specific scene
Dalai Felinto [Sat, 19 Oct 2013 21:20:50 +0000 (21:20 +0000)]
fix [#37145] "Triangulate Face" crash in specific scene
it was asserting if the last edge faces were already all set

7 years agoApplied patch [#34178] tile rendering for fast gaussian blur
Jeroen Bakker [Sat, 19 Oct 2013 17:45:58 +0000 (17:45 +0000)]
Applied patch [#34178] tile rendering for fast gaussian blur

Thanks to David M (erwin94)
only added some comments.

https://projects.blender.org/tracker/?func=detail&aid=34178&group_id=9&atid=127

7 years agoCompositor: did some inner loop optimizations of the fast gaussian blur.
Jeroen Bakker [Sat, 19 Oct 2013 16:51:35 +0000 (16:51 +0000)]
Compositor: did some inner loop optimizations of the fast gaussian blur.

 - At Mind -

7 years agoMore complete handling of printf formatting in msgid/msgstr checks.
Bastien Montagne [Sat, 19 Oct 2013 14:28:32 +0000 (14:28 +0000)]
More complete handling of printf formatting in msgid/msgstr checks.

(That commit, r60813, should never have been done to 2.69 branch, will revert it there, sorry :/ ).

7 years agoArg! Fix another bug in split normal core algorithm (some flat faces were ignored...
Bastien Montagne [Sat, 19 Oct 2013 13:48:51 +0000 (13:48 +0000)]
Arg! Fix another bug in split normal core algorithm (some flat faces were ignored, depending on the order of evaluation)... :/

7 years agoFix [#37146] Dopesheet / Graph editor, select columns between markers doesn't appear...
Bastien Montagne [Sat, 19 Oct 2013 13:39:27 +0000 (13:39 +0000)]
Fix [#37146] Dopesheet / Graph editor, select columns between markers doesn't appear to work.

Init min/max values were just switched...

7 years agoFix: ensure cycles mist pass stays in range 0..1, it could have values out of
Brecht Van Lommel [Fri, 18 Oct 2013 23:44:25 +0000 (23:44 +0000)]
Fix: ensure cycles mist pass stays in range 0..1, it could have values out of
this range due to sampling noise.

Side note: I looked into the mist pass because it was apparently not calculating
mist correctly on characters with transparent hair. Turns out this is just
sampling noise that goes away with more samples.

This noise is because the ray will randomly go to the next transparency layer or
get reflected, the path tracing integrator will not branch the path and only pick
one of the two directions each time.

Branched path tracing however will shade all transparent layers for each AA
sample, which means this source of noise is eliminated.

7 years agoRemove paranoid check which was marked as unneeded for a while already
Sergey Sharybin [Fri, 18 Oct 2013 23:41:11 +0000 (23:41 +0000)]
Remove paranoid check which was marked as unneeded for a while already

7 years agoMove utility functions from mball to mathutils
Sergey Sharybin [Fri, 18 Oct 2013 23:38:51 +0000 (23:38 +0000)]
Move utility functions from mball to mathutils

7 years agoFix #37134: cycles viewport not displaying correct with multi GPU render
Brecht Van Lommel [Fri, 18 Oct 2013 20:11:07 +0000 (20:11 +0000)]
Fix #37134: cycles viewport not displaying correct with multi GPU render
and graphics card that does not support CUDA OpenGL interop.

7 years agoID blocks can be pasted to text editor now with mouse drag and move
Sergey Sharybin [Fri, 18 Oct 2013 17:35:20 +0000 (17:35 +0000)]
ID blocks can be pasted to text editor now with mouse drag and move

7 years agoMake strict compiler flags happy
Sergey Sharybin [Fri, 18 Oct 2013 15:30:38 +0000 (15:30 +0000)]
Make strict compiler flags happy

7 years agoFix cycles hair segments not giving correct vector speed pass, the motion vector
Brecht Van Lommel [Fri, 18 Oct 2013 15:03:18 +0000 (15:03 +0000)]
Fix cycles hair segments not giving correct vector speed pass, the motion vector
export was not implemented yet for this primitive.

7 years agoTweak for action group -> bone select feature
Joshua Leung [Fri, 18 Oct 2013 14:15:08 +0000 (14:15 +0000)]
Tweak for action group -> bone select feature

Set newly selected bone as "active", so that the transform properties show the
correct values for the newly selected bone

7 years agoAdd debug prints to the PSD loader in imbuf. The error message can be obtained from...
Irie Shinsuke [Fri, 18 Oct 2013 10:43:54 +0000 (10:43 +0000)]
Add debug prints to the PSD loader in imbuf.  The error message can be obtained from OIIO by geterror().

7 years agoFix for wrong active render layer after copying hr scene
Sergey Sharybin [Fri, 18 Oct 2013 09:45:21 +0000 (09:45 +0000)]
Fix for wrong active render layer after copying hr scene

Also fix crash for files which could have been saved with
wrong active render layer.

7 years agoPampa Project request: FPS in sequencer editor
Sergey Sharybin [Thu, 17 Oct 2013 21:17:33 +0000 (21:17 +0000)]
Pampa Project request: FPS in sequencer editor

perhaps ED_scene_draw_fps is actually better to be placed
to a better place, but consider this is good for now.

7 years agoFix #37110, After deletion of large scene, file still huge.
Lukas Toenne [Thu, 17 Oct 2013 20:18:48 +0000 (20:18 +0000)]
Fix #37110, After deletion of large scene, file still huge.
Objects were not being freed when unlinked from all scenes, due to user count increments on the ParticleSystem->parent pointers. These were referencing the objects themselves, creating a user count of 1
and preventing free. Object pointers should not usually do user counting, except in some cases like scenes and groups (thanks to Brecht for clarifying this).

7 years agoPatch [#37115] Surface split and separate operators
Kevin Mackay [Thu, 17 Oct 2013 19:57:14 +0000 (19:57 +0000)]
Patch [#37115] Surface split and separate operators

Added surface support to recent curve split operator, completing quick hack todo
Updated nurbs separate operator to make use of new split logic, completing tools todo
Added 'Delete segment' option to surfaces and improved surface duplication, used for split/separate

7 years agoMissing ParticleSystem->parent pointer check in BKE_object_unlink.
Lukas Toenne [Thu, 17 Oct 2013 19:31:59 +0000 (19:31 +0000)]
Missing ParticleSystem->parent pointer check in BKE_object_unlink.

7 years agoFix #37048: Default keybindings: text.find_next in Text (Global), should be in Text...
Sergey Sharybin [Thu, 17 Oct 2013 18:49:09 +0000 (18:49 +0000)]
Fix #37048: Default keybindings: text.find_next in Text (Global), should be in Text Generic

7 years agoFix #37123: UV editor view does not update when using large faces
Sergey Sharybin [Thu, 17 Oct 2013 18:29:01 +0000 (18:29 +0000)]
Fix #37123: UV editor view does not update when using large faces

Update tagging was happening only after full triangle was handled.
Now made it so images are updating once in 0.5sec, progress bar
will still update only after the whole triangle is done.

7 years agoFix cycles mesh synchronization being too slow with vector blur and duplis.
Brecht Van Lommel [Thu, 17 Oct 2013 16:05:57 +0000 (16:05 +0000)]
Fix cycles mesh synchronization being too slow with vector blur and duplis.

7 years agoFix crash in scenes without camera markers, after recent fix for #37097,
Brecht Van Lommel [Thu, 17 Oct 2013 15:51:12 +0000 (15:51 +0000)]
Fix crash in scenes without camera markers, after recent fix for #37097,
first_camera variable was used uninitialized.

7 years agoFix for GCC bing stupid and not casting float*[3] to const float*[3] without a wanring :S
Sergey Sharybin [Thu, 17 Oct 2013 14:44:23 +0000 (14:44 +0000)]
Fix for GCC bing stupid and not casting float*[3] to const float*[3] without a wanring :S

7 years agoProject Pampa Request: Selecting groups in animation editors selects
Joshua Leung [Thu, 17 Oct 2013 14:19:03 +0000 (14:19 +0000)]
Project Pampa Request: Selecting groups in animation editors selects
corresponding bones

7 years agoFix #37097: Setting scene frame does not update active camera
Sergey Sharybin [Thu, 17 Oct 2013 14:10:03 +0000 (14:10 +0000)]
Fix #37097: Setting scene frame does not update active camera

The issue was caused by uncertainty of current camera when
there're no markers to the left of current frame.

Now in this case camera from the top-left marker will be used.

7 years agoFix #37109: missing cycles texture display in edit mode.
Brecht Van Lommel [Thu, 17 Oct 2013 14:04:10 +0000 (14:04 +0000)]
Fix #37109: missing cycles texture display in edit mode.

My previous fix for uninitialized texture coordinates was not working well,
and in fact there was a bigger issue with GLSL drawing and missing attributes
with immediate draw mode. Now it will explicitly pass zero rather than having
it use whatever value was set last.

7 years agoFix #37122: Text Editor: New Open-Shortcut different from Text > Open Text Block
Sergey Sharybin [Thu, 17 Oct 2013 12:53:37 +0000 (12:53 +0000)]
Fix #37122: Text Editor: New Open-Shortcut different from Text > Open Text Block

Seems no user counter tricks are needed from r23598.

Also, r33453 is obviously wrong, because new ID's user counter is 1,
and could not exceed this value.

7 years agoFix #37117: MCE prefetching fails with non-ascii characters in path
Sergey Sharybin [Thu, 17 Oct 2013 12:28:32 +0000 (12:28 +0000)]
Fix #37117: MCE prefetching fails with non-ascii characters in path

7 years agoFix #37091: Reset to default of Sky Texture's Dot freezes it at 0,0,0
Sergey Sharybin [Thu, 17 Oct 2013 10:50:54 +0000 (10:50 +0000)]
Fix #37091: Reset to default of Sky Texture's Dot freezes it at 0,0,0

7 years agoFix #37106: Hair Length vanishes when Advanced is enabled
Sergey Sharybin [Thu, 17 Oct 2013 10:42:47 +0000 (10:42 +0000)]
Fix #37106: Hair Length vanishes when Advanced is enabled

Seems to be just a missing case from r34687.

Could not see a reason why hair length is to be hidden in
advanced settings mode.

7 years agoadd local _PyLong_AsInt() needed for python older then 3.3.2
Campbell Barton [Thu, 17 Oct 2013 09:58:36 +0000 (09:58 +0000)]
add local _PyLong_AsInt() needed for python older then 3.3.2

7 years agoFix #37118: MCEr: Prefetch frames doesn't respect input color space
Sergey Sharybin [Thu, 17 Oct 2013 09:44:08 +0000 (09:44 +0000)]
Fix #37118: MCEr: Prefetch frames doesn't respect input color space

7 years agoFix #37119: MCE: Prefetching doesn't fetch last frame of an image-sequence.
Sergey Sharybin [Thu, 17 Oct 2013 09:19:03 +0000 (09:19 +0000)]
Fix #37119: MCE: Prefetching doesn't fetch last frame of an image-sequence.

Silly mistake in final condition. Now it works fine.

Would be nice to have this for the final release, simple oneliner.

7 years agoi18n utils: check not only that the number of printf markers are the same in msgid...
Bastien Montagne [Thu, 17 Oct 2013 06:52:26 +0000 (06:52 +0000)]
i18n utils: check not only that the number of printf markers are the same in msgid and msgstr, but also that they are of the same type and order. Sorry, should have done that from the beginning... :/

This should prevent any bug like [#37095] Timeline crash when chose any keying set then press keyframe-insert, to appear again.

7 years agoFix build failure with VS2012 + SCons, caused by redefinition of the bool type.
Irie Shinsuke [Thu, 17 Oct 2013 06:40:35 +0000 (06:40 +0000)]
Fix build failure with VS2012 + SCons, caused by redefinition of the bool type.

7 years agoadd typechecks when assigning id-property arrays from python (overflows and errors...
Campbell Barton [Thu, 17 Oct 2013 03:18:21 +0000 (03:18 +0000)]
add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)
reduce/simplify exceptions more.

7 years agosimplify & improve error handling for id-property python-api.
Campbell Barton [Thu, 17 Oct 2013 02:57:59 +0000 (02:57 +0000)]
simplify & improve error handling for id-property python-api.

7 years agofix [#37105] Long int IDproperties produces errors at weird spots.
Campbell Barton [Thu, 17 Oct 2013 02:36:33 +0000 (02:36 +0000)]
fix [#37105] Long int IDproperties produces errors at weird spots.

7 years agopatch [#37114] copypaste for NORMAL buttons (BUT_NORMAL)
Campbell Barton [Wed, 16 Oct 2013 23:42:44 +0000 (23:42 +0000)]
patch [#37114] copypaste for NORMAL buttons (BUT_NORMAL)
from Philipp Oeser (lichtwerk)

7 years agocorrect BM_edge_face_pair() being called inside BLI_assert() - this needed to run...
Campbell Barton [Wed, 16 Oct 2013 22:07:16 +0000 (22:07 +0000)]
correct BM_edge_face_pair() being called inside BLI_assert() - this needed to run every time.
also other minor changes.

7 years agoTriangulate modifier - beauty option is back
Dalai Felinto [Wed, 16 Oct 2013 17:58:00 +0000 (17:58 +0000)]
Triangulate modifier - beauty option is back

Patch reviewed and with collaborations from Campbell Barton

7 years agoBGE: Fix to allow render options such display framerate and profile to work
Mitchell Stokes [Wed, 16 Oct 2013 17:54:12 +0000 (17:54 +0000)]
BGE: Fix to allow render options such display framerate and profile to work
when launching the Blenderplayer from Blender.

This bug was reported and fixed by SolarLune.

7 years agoProject Pampa request: copy-paste for curve mapping widgets
Sergey Sharybin [Wed, 16 Oct 2013 17:48:33 +0000 (17:48 +0000)]
Project Pampa request: copy-paste for curve mapping widgets

Use C-c for copy, C-v for paste over the widget.

7 years agoFix #37084, Backdrop not invalidating inside node groups.
Lukas Toenne [Wed, 16 Oct 2013 07:55:52 +0000 (07:55 +0000)]
Fix #37084, Backdrop not invalidating inside node groups.
Extended the is_active_group flag such that both the current edittree as well as the base node tree in Scene do a viewer node update.

7 years agoadd IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().
Campbell Barton [Wed, 16 Oct 2013 05:29:28 +0000 (05:29 +0000)]
add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().

7 years agofix [#37100] Segfault when I rotate an edge
Campbell Barton [Wed, 16 Oct 2013 05:24:55 +0000 (05:24 +0000)]
fix [#37100] Segfault when I rotate an edge

7 years agostyle cleanup
Campbell Barton [Wed, 16 Oct 2013 04:08:20 +0000 (04:08 +0000)]
style cleanup

7 years agobeautify: passing edge/face flags as arguments
Dalai Felinto [Wed, 16 Oct 2013 03:24:50 +0000 (03:24 +0000)]
beautify: passing edge/face flags as arguments
no functional change, just preparing the ground for the beautify in
triangulate modifier changes.

7 years agosplit operators/bmo_beautify.c into tools/bmesh_beautify.c
Dalai Felinto [Wed, 16 Oct 2013 03:24:38 +0000 (03:24 +0000)]
split operators/bmo_beautify.c into tools/bmesh_beautify.c

This is a proper design if we want to use the beautify routine elsewhere
(e.g., in the triangulate modifier)

7 years agofix [#37013] Mesh > bisect can't fill the cut if it lines up with two or more adjacen...
Campbell Barton [Wed, 16 Oct 2013 03:21:55 +0000 (03:21 +0000)]
fix [#37013] Mesh > bisect can't fill the cut if it lines up with two or more adjacent vertices

7 years agoFix part of #37087, brush curve becomes inverted when using the reset
Antony Riakiotakis [Wed, 16 Oct 2013 01:49:11 +0000 (01:49 +0000)]
Fix part of #37087, brush curve becomes inverted when using the reset
curve button.

From the bug report it also seems that positive slope curve presets are
not always reset correctly. However I haven't seen any place where
positive slope curve presets are used. This will fix the initial brush
problem, however it might be good to investigate further if curve
presets are to be used elsewhere. It looks like the issue is related to
bezier curve calculation.

7 years agoedits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call...
Campbell Barton [Tue, 15 Oct 2013 20:15:45 +0000 (20:15 +0000)]
edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call ED_* functions its a hint they might be better in BKE).

7 years agoadd 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude,...
Campbell Barton [Tue, 15 Oct 2013 18:30:49 +0000 (18:30 +0000)]
add 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude, Escape, Alt+S'

7 years agoFix stubs for player
Jens Verwiebe [Tue, 15 Oct 2013 17:19:02 +0000 (17:19 +0000)]
Fix stubs for player

7 years agoFix #37090: Blender crashes on "Make single user" option
Sergey Sharybin [Tue, 15 Oct 2013 17:11:15 +0000 (17:11 +0000)]
Fix #37090: Blender crashes on "Make single user" option

issue was caused by id->mewid pointing to an invalid memory
after file load.

The rule here: all the tools need to reset it to NULL (or
other value they need) in the beginning.

Currently some tools are doing newid clear in the beginning
and some does it in the end. We need to clean it up so clear
only happens in the beginning.

But ideal we need some kind NewIDContext to make duplication
safe for threading.

7 years ago3D view: textured draw mode now has a Shadeless option in the Shading panel,
Brecht Van Lommel [Tue, 15 Oct 2013 15:56:00 +0000 (15:56 +0000)]
3D view: textured draw mode now has a Shadeless option in the Shading panel,
to draw textures without shading. For Cycles this was not possible yet, and
for Blender Internal you had to move away all lights which was also not ideal.

(Caminandes feature request)

7 years agorenaming "Beautify Fill" to "Beautify Faces"
Dalai Felinto [Tue, 15 Oct 2013 15:34:14 +0000 (15:34 +0000)]
renaming "Beautify Fill" to "Beautify Faces"

changing the ot->name only, not the ot->idname
(to avoid breaking scripts)

The tool requires the selection to be fill previously,
the original name was confusing if we consider we have
"Fill" with the "Beauty" option.

Discussed with Bastien Montagne and Brecht van Lommel.

7 years agoCode cleanup: move function prototype to header file
Sergey Sharybin [Tue, 15 Oct 2013 15:21:44 +0000 (15:21 +0000)]
Code cleanup: move function prototype to header file

7 years agoGet rid of Allow Fallback option
Sergey Sharybin [Tue, 15 Oct 2013 15:21:41 +0000 (15:21 +0000)]
Get rid of Allow Fallback option

It was rather confusing from the user usage point
of view and didn't get so much improvement after
new bundle adjuster was added.

In the future we might want to switch resection
to PPnP algorithm, which could also might be a
nice alternative to fallback option.

7 years agoCode cleanup: move hardcoded structure to a typedef
Sergey Sharybin [Tue, 15 Oct 2013 15:21:33 +0000 (15:21 +0000)]
Code cleanup: move hardcoded structure to a typedef

7 years agoCode cleanup: use bools instead of ints for tracking utility functions
Sergey Sharybin [Tue, 15 Oct 2013 15:21:28 +0000 (15:21 +0000)]
Code cleanup: use bools instead of ints for tracking utility functions

7 years agoFix [#37085] Hook modifier work when created with Ctrl+H, but not when created via...
Bastien Montagne [Tue, 15 Oct 2013 14:54:12 +0000 (14:54 +0000)]
Fix [#37085] Hook modifier work when created with Ctrl+H, but not when created via modifier panel

"transform matrix" of the hook was not inited (reset) when assinging and object to it, now use same code for both OBJECT_OT_hook_reset operator and RNA object assignement.

Reviewed by Brecht, thanks.

7 years agoremoving PSD from the fileformat list fix [#37080] The file which I stored in PSD...
Dalai Felinto [Tue, 15 Oct 2013 14:32:33 +0000 (14:32 +0000)]
removing PSD from the fileformat list fix [#37080] The file which I stored in PSD file format in Blender cannot open by Photoshop
PSD writing is not supported at the moment

7 years agoFix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.
Bastien Montagne [Tue, 15 Oct 2013 13:55:06 +0000 (13:55 +0000)]
Fix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.

Remove KeyMap mode from outliner, was an old half-finished features redondant with user preferences settings...

Also moved key map item's "event type to map type" and map type defines at WM level, this is too much generic to be at RNA level.

Also added a check in versionning code to convert all outdated outliner modes to a valid one (seems old 'verse' ones were not handled as well).

Thanks to Brecht for reviews and advices!

7 years agoFinal fix for #36905. Enforce redraw of window once before sampling.
Antony Riakiotakis [Tue, 15 Oct 2013 13:45:27 +0000 (13:45 +0000)]
Final fix for #36905. Enforce redraw of window once before sampling.
Thanks to Brecht for the solution!

7 years agoFix duplicated key in ghash assert caused by object orco
Sergey Sharybin [Tue, 15 Oct 2013 09:08:08 +0000 (09:08 +0000)]
Fix duplicated key in ghash assert caused by object orco

Code was rather confusing, get_object_orco was only
checking for orco in cache for some objects and was
actually allocating orco for other objects.

Now made it so get_object_orco always only checks
the cache and only call set_object_orco if there's
no orco for it yet.

7 years agofix [#37082] Texture paint artefact
Campbell Barton [Tue, 15 Oct 2013 08:44:13 +0000 (08:44 +0000)]
fix [#37082] Texture paint artefact

7 years agoStyle cleanup (defines -> enums, bit flags values as bitshifts, etc.).
Bastien Montagne [Tue, 15 Oct 2013 08:05:57 +0000 (08:05 +0000)]
Style cleanup (defines -> enums, bit flags values as bitshifts, etc.).

7 years agocode cleanup: project paint, use mod_i() to simplift wrapping, use booleans for stati...
Campbell Barton [Tue, 15 Oct 2013 07:35:12 +0000 (07:35 +0000)]
code cleanup: project paint, use mod_i() to simplift wrapping, use booleans for static function returns.

7 years agocode cleanup: use booleans for projection paint and make some args const.
Campbell Barton [Tue, 15 Oct 2013 07:18:23 +0000 (07:18 +0000)]
code cleanup: use booleans for projection paint and make some args const.

7 years agosphinx docgen wasn't including example scripts for python methods of RNA types.
Campbell Barton [Tue, 15 Oct 2013 05:55:51 +0000 (05:55 +0000)]
sphinx docgen wasn't including example scripts for python methods of RNA types.

7 years agofix [#37067] Bone Crash
Campbell Barton [Tue, 15 Oct 2013 02:23:28 +0000 (02:23 +0000)]
fix [#37067] Bone Crash

Holding Ctrl+RMB is supposed to select objects, while in editmode,
however it would end up calling editmode selection as well as pose selection while an armature was in editmode (which caused the crash).

Add the ability for view3d_opengl_select() to skip editmode selection.

7 years agofix [#37078] Search props don't react on click at the right end (where 'X' is if...
Campbell Barton [Tue, 15 Oct 2013 00:24:53 +0000 (00:24 +0000)]
fix [#37078] Search props don't react on click at the right end (where 'X' is if field not empty)

7 years agoA follow-up to Bug #37070: LineStyle appears in Outliner by default though Freestyle...
Tamito Kajiyama [Mon, 14 Oct 2013 23:08:45 +0000 (23:08 +0000)]
A follow-up to Bug #37070: LineStyle appears in Outliner by default though Freestyle is not enabled.
Line style data blocks are shown in the outliner only when the Blender Internal is used.

7 years agoRename "Show Python Tooltips" to "Python Tooltips"
Jonathan Williamson [Mon, 14 Oct 2013 21:41:03 +0000 (21:41 +0000)]
Rename "Show Python Tooltips" to "Python Tooltips"

This makes the naming more consistent with other options, such as "Tooltips" and "Object Info"

7 years agoAdded poll function to disable "Remove Shape key from object".
Jonathan Williamson [Mon, 14 Oct 2013 21:03:18 +0000 (21:03 +0000)]
Added poll function to disable "Remove Shape key from object".

This disables the "-" button when no shape keys exist on the currently selected object. Thanks to Campbell for the help on my first real commit!

7 years agoFix particle group use count option losing objects for linked groups. There
Brecht Van Lommel [Mon, 14 Oct 2013 20:13:40 +0000 (20:13 +0000)]
Fix particle group use count option losing objects for linked groups. There
was no reason to go through newlibadr here, go->ob should already have the
right pointer.

7 years agoFix for #37070: LineStyle appears in Outliner by default though Freestyle is not...
Tamito Kajiyama [Mon, 14 Oct 2013 19:57:16 +0000 (19:57 +0000)]
Fix for #37070: LineStyle appears in Outliner by default though Freestyle is not enabled.

7 years agofix [#37072] Crash on RMB click on bone's custom property
Campbell Barton [Mon, 14 Oct 2013 19:53:28 +0000 (19:53 +0000)]
fix [#37072] Crash on RMB click on bone's custom property

7 years agoFix Brush datablock writing MTex blocks to .blend files twice.
Brecht Van Lommel [Mon, 14 Oct 2013 19:37:15 +0000 (19:37 +0000)]
Fix Brush datablock writing MTex blocks to .blend files twice.
Patch by Janis Streib.

7 years agoFix cycles textured draw mode problem with objects that have an image texture
Brecht Van Lommel [Mon, 14 Oct 2013 19:37:12 +0000 (19:37 +0000)]
Fix cycles textured draw mode problem with objects that have an image texture
but not UV coordinates, it would show a different color with the object selected
and deselected.

7 years agoUV editor: remove duplicate Select Split entry from UV menu.
Brecht Van Lommel [Mon, 14 Oct 2013 19:36:47 +0000 (19:36 +0000)]
UV editor: remove duplicate Select Split entry from UV menu.

7 years agoInterface / Text:
Thomas Dinges [Mon, 14 Oct 2013 17:14:43 +0000 (17:14 +0000)]
Interface / Text:
* Add "Open" operator to the Text Editor header, it's a common operation next to New.
* Add Body Text property to the Font panel for Text objects, so text can easily be pasted into Blender and editing it becomes easier too. This was only accessible via the RNA Data blocks before.

7 years ago* Improved Tooltip for Particle Brownian property, patch by Jonathan Williamson....
Thomas Dinges [Mon, 14 Oct 2013 16:38:47 +0000 (16:38 +0000)]
* Improved Tooltip for Particle Brownian property, patch by Jonathan Williamson. Thanks!

7 years agoFix #37043: bpy.ops.sequencer.rebuild_proxy() don't release memory
Sergey Sharybin [Mon, 14 Oct 2013 15:56:48 +0000 (15:56 +0000)]
Fix #37043: bpy.ops.sequencer.rebuild_proxy() don't release memory

7 years agoOSX/fs_menue: change the availability macros, so ppl could still compile on 10.5...
Jens Verwiebe [Mon, 14 Oct 2013 15:37:16 +0000 (15:37 +0000)]
OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then

7 years agoFIx #37005: Mask tool + "Area" Brush Mapping + "Anchored" Stroke = crash
Sergey Sharybin [Mon, 14 Oct 2013 11:42:36 +0000 (11:42 +0000)]
FIx #37005: Mask tool + "Area" Brush Mapping + "Anchored" Stroke = crash

Was caused by area normal calvultion using undo nodes to get coords
from and undo nodes does not contain coords whe using mask tool.

7 years agonote in bisect tooltip that you need to click-drag the plane.
Campbell Barton [Mon, 14 Oct 2013 08:45:43 +0000 (08:45 +0000)]
note in bisect tooltip that you need to click-drag the plane.

7 years agocode cleanup: correct unsigned int in string formatting and use empty() checks for...
Campbell Barton [Mon, 14 Oct 2013 08:23:57 +0000 (08:23 +0000)]
code cleanup: correct unsigned int in string formatting and use empty() checks for vectors.

7 years agoFix for crash from double-freeing in nodes:
Lukas Toenne [Mon, 14 Oct 2013 08:03:55 +0000 (08:03 +0000)]
Fix for crash from double-freeing in nodes:
The way node groups check for localized trees in the ntreeFreeTree_ex function does not work. When the main library is freed on exit it also frees genuine node groups trees (which is correct), but then
node groups referencing these trees will not find them in the library and interpret that as a localized group, attempting to free them a second time ... Nicer solution is to just use a special flag on
localized node trees so we can clearly distinguish them from genuine trees in main.

7 years agoFix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.
Lukas Toenne [Mon, 14 Oct 2013 08:03:53 +0000 (08:03 +0000)]
Fix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.
The operator exits early when there are no internal links. This prevents it from removing links which have no internal connection.

7 years agocode cleanup: remove duplicate assignments
Campbell Barton [Mon, 14 Oct 2013 07:15:59 +0000 (07:15 +0000)]
code cleanup: remove duplicate assignments

7 years agofix for array index use before checking range
Campbell Barton [Mon, 14 Oct 2013 07:10:38 +0000 (07:10 +0000)]
fix for array index use before checking range

7 years agoInterface:
Thomas Dinges [Sun, 13 Oct 2013 23:45:41 +0000 (23:45 +0000)]
Interface:
* More compact and better looking Vertex Groups panel (Particle System).
* Smaller uiLists for Cycles as well.

7 years agoInterface / Template Lists:
Thomas Dinges [Sun, 13 Oct 2013 23:24:37 +0000 (23:24 +0000)]
Interface / Template Lists:
* Reduce the space of more lists, should be all in bl_ui/