blender.git
7 years agoRevision: 31092 soc-2010-jwilkins
Jason Wilkins [Fri, 12 Aug 2011 13:40:18 +0000 (13:40 +0000)]
Revision: 31092
Author: nicholasbishop
Date: 11:16:13 PM, Thursday, August 05, 2010
Message:
== Ptex ==

Fixes for triangles

* the quad-mesh-with-triangles example file from ptex contains subfaces with
  non-matching resolutions; changed the internal MPtex format to store
  separate resolutions for each subface

* changed ptex drawing to give each subface its own texture

* various fixes to the loading and painting code to support triangles

* small change to the ptex build files, hopefully fixes and MSVC issue
----
Modified : /branches/soc-2010-nicolasbishop/extern/ptex/CMakeLists.txt
Modified : /branches/soc-2010-nicolasbishop/extern/ptex/SConscript
Modified : /branches/soc-2010-nicolasbishop/source/blender/blenloader/intern/writefile.c
Modified : /branches/soc-2010-nicolasbishop/source/blender/editors/sculpt_paint/paint_vertex.c
Modified : /branches/soc-2010-nicolasbishop/source/blender/editors/sculpt_paint/ptex.c
Modified : /branches/soc-2010-nicolasbishop/source/blender/gpu/intern/gpu_buffers.c
Modified : /branches/soc-2010-nicolasbishop/source/blender/makesdna/DNA_meshdata_types.h

Revision: 31097
Author: nicholasbishop
Date: 12:57:23 AM, Friday, August 06, 2010
Message:
== Ptex ==

* Small bugfix for my previous commit, broke ptex generation

----
Modified : /branches/soc-2010-nicolasbishop/source/blender/editors/sculpt_paint/ptex.c

jwilkins:
Added a temporary pre-processor definition ENABLE_PTEX so I can separate out changes to vertex paint involving ptex from the old vertex paint system.  Although Ptex could be seen as obsoleting vertex paint, I'd like to preserve the old functionality for now.  Later I can refactor so that both systems exist side by side.

8 years agoMerged with trunk: 36951-37000
Jason Wilkins [Sun, 29 May 2011 16:17:43 +0000 (16:17 +0000)]
Merged with trunk:  36951-37000
Never say good-bye, you'll be back :)

8 years ago**reverted previous merge, wrong revisions
Jason Wilkins [Sun, 29 May 2011 15:32:51 +0000 (15:32 +0000)]
**reverted previous merge, wrong revisions

8 years agoMerged with trunk: 36994-37000
Jason Wilkins [Sun, 29 May 2011 14:26:35 +0000 (14:26 +0000)]
Merged with trunk: 36994-37000
This should be last revision before moving to soc-2011-onion, good-bye soc-2010-jwilkins, it's been fun :)

8 years agoaccess pythons code object directly rather than attribute access.
Campbell Barton [Sun, 29 May 2011 11:05:52 +0000 (11:05 +0000)]
access pythons code object directly rather than attribute access.

8 years ago* Symmetry Feather option was not appearing
Jason Wilkins [Sun, 29 May 2011 05:22:17 +0000 (05:22 +0000)]
* Symmetry Feather option was not appearing
* Moved symmetry feather option to brush area of UI because it is a per-brush option
* Trunk has 'height' and my branch has 'layer_distance', height is way too generic and hard to search for, renamed this to 'layer_limit'
* Made layer limit and persistent base greyed-out if Layer is disabled
* Was getting warnings about gl_TexCoord being deprecated in GLSL version 1.30, so for now it is just gonna use the 1.00 version.

Why warn about deprecation when I explicitly asked for a version that still supports a feature?  If I say 1.3, and 1.3 supports gl_TexCoord, then there is no problem with me using it.  Kindly stfu compiler.

Deprecation makes people stupid...</rant>

XXX: not sure what persistent base does or if it even still works in my branch.

8 years agoFixing the initglobals leak in the Blenderplayer (G.main reference was being reassign...
Mitchell Stokes [Sun, 29 May 2011 04:15:35 +0000 (04:15 +0000)]
Fixing the initglobals leak in the Blenderplayer (G.main reference was being reassigned before it was freed).

8 years agoGeneral error in coderivative for orthogonal camera. Culprit of new bump failing...
Daniel Salazar [Sat, 28 May 2011 21:53:07 +0000 (21:53 +0000)]
General error in coderivative for orthogonal camera. Culprit of new bump failing on orthogonal cameras; bug #27492

Commiting bug kill by Sparky

8 years agoDisabling xinput wasn't done completely.
Campbell Barton [Sat, 28 May 2011 15:34:02 +0000 (15:34 +0000)]
Disabling xinput wasn't done completely.

8 years agoSilence some unused-but-set-variable warnings.
Sergey Sharybin [Sat, 28 May 2011 14:52:28 +0000 (14:52 +0000)]
Silence some unused-but-set-variable warnings.

And small optimization for text search function :)

8 years agoFix #27505: Text Editor always indent next line when a " is found (which is not alway...
Sergey Sharybin [Sat, 28 May 2011 14:40:42 +0000 (14:40 +0000)]
Fix #27505: Text Editor always indent next line when a " is found (which is not always correct)

Do not indent if there's any non-space character after colon.

This only makes life a bit easier, but it's still not 100% correct indentation
strategy. For example when colon is inside non-closed string or so.
Also there's not indentation for { and un-indentation for }.

Handling such cases would require much smarter strategy..

8 years ago== FFMPEG ==
Peter Schlaile [Sat, 28 May 2011 14:16:56 +0000 (14:16 +0000)]
== FFMPEG ==

Did some fine-tuning for AVOption -> AVOption2 crazyness

8 years agofixed "rather then" -> "rather than" typos all over the place
M.G. Kishalmi [Sat, 28 May 2011 13:11:24 +0000 (13:11 +0000)]
fixed "rather then" -> "rather than" typos all over the place

8 years agoFix: The radial control would fail, in sculpt mode, to set size if object-space sizin...
Jason Wilkins [Sat, 28 May 2011 12:43:47 +0000 (12:43 +0000)]
Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled.

This was caused because a small part of sculpt's radial control code did not make it into the new version.  The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed.

The solution I implement here is to do the same scaling inside the RNA callbacks.  This way, users of those properties do not have to worry about inconsistency.

I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size.

I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems.  In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases.

In any case, this at least fixes the immediate problem.

8 years agorearranged previous patch to compile with C89
Jason Wilkins [Sat, 28 May 2011 12:33:53 +0000 (12:33 +0000)]
rearranged previous patch to compile with C89
conversion to double probably not needed
better comments

8 years agoIntroduce vars before using them, otherwise compile fails (reminder: with C, present all
Nathan Letwory [Sat, 28 May 2011 12:11:39 +0000 (12:11 +0000)]
Introduce vars before using them, otherwise compile fails (reminder: with C, present all
your vars at the begin of the scope _before any other statement_).

8 years agowrong rna access function used in node UI
Campbell Barton [Sat, 28 May 2011 12:04:56 +0000 (12:04 +0000)]
wrong rna access function used in node UI

8 years agoFix: The radial control would fail, in sculpt mode, to set size if object-space sizin...
Jason Wilkins [Sat, 28 May 2011 11:30:21 +0000 (11:30 +0000)]
Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled.

This was caused because a small part of sculpt's radial control code did not make it into the new version.  The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed.

The solution I implement here is to do the same scaling inside the RNA callbacks.  This way, users of those properties do not have to worry about inconsistency.

I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size.

I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems.  In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases.

In any case, this at least fixes the immediate problem.

8 years ago!!Merge Complete!!
Jason Wilkins [Sat, 28 May 2011 10:01:00 +0000 (10:01 +0000)]
!!Merge Complete!!
Compiles, cursory testing of on-surface brush, matcaps, and new texture mode.
Known Issue: new radial control does not seem to work with f-key resizing when 'lock size' is enabled.  Need to check that this is not bug in trunk as well.

8 years agobetter error reporting for seq_swap()
M.G. Kishalmi [Sat, 28 May 2011 09:59:34 +0000 (09:59 +0000)]
better error reporting for seq_swap()

8 years agomove load_image into image_utils and add some docstrings to bpy_extras module.
Campbell Barton [Sat, 28 May 2011 09:34:45 +0000 (09:34 +0000)]
move load_image into image_utils and add some docstrings to bpy_extras module.

8 years agobugfix for: [#26753] PhysicsConstraints ID trouble on 64bit (linux at least).
Dalai Felinto [Sat, 28 May 2011 08:16:34 +0000 (08:16 +0000)]
bugfix for: [#26753] PhysicsConstraints ID trouble on 64bit (linux at least).
[the problem also affected OSX]

PhysicsId are Long, not ints (see PyObject* KX_GameObject::PyGetPhysicsId() )

There is a reference in the code to use PyCapsule instead of int. I'm not sure
about that. This patch at least stops the crashes
(update: I talked with Campbell and he repeated that PyCapsule are better, but if long is working it's fine for now).

8 years ago- generate sphinx docs for bpy_extras module
Campbell Barton [Sat, 28 May 2011 07:47:58 +0000 (07:47 +0000)]
- generate sphinx docs for bpy_extras module
- add in support to doc generator for automatically generating docs for submodules.

8 years agosource/tests directory was missing
Jason Wilkins [Sat, 28 May 2011 06:18:05 +0000 (06:18 +0000)]
source/tests directory was missing

8 years agoinclude ffmpeg_compat header in cmake source list.
Campbell Barton [Sat, 28 May 2011 04:53:17 +0000 (04:53 +0000)]
include ffmpeg_compat header in cmake source list.

8 years agoMerge Cleanup.
Jason Wilkins [Sat, 28 May 2011 03:18:40 +0000 (03:18 +0000)]
Merge Cleanup.
Forth to make sure branch is a copy of trunk.  This time the revision is 36950.  Mostly svn property fixes.  Biggest concern was missing 'svn:eol-style = native' tags, but also a lot of random 'svn:mergeinfo=' tages (yes, the merge info was empty).  Probably need to remove these in trunk, but I added them back to clean up my diff.

8 years agofix for embeded BGE viewport broken when not using letterboxing
Dalai Felinto [Sat, 28 May 2011 01:29:56 +0000 (01:29 +0000)]
fix for embeded BGE viewport broken when not using letterboxing
this was broken after rev.36787 (api rewritten)
own reported bug, nowhere in the track (just to mess up with the bug fixing statistics)

8 years ago== FFMPEG ==
Peter Schlaile [Sat, 28 May 2011 00:07:33 +0000 (00:07 +0000)]
== FFMPEG ==

Small fix for a very old bug in swscaler color space support detection.

8 years ago== FFMPEG ==
Peter Schlaile [Fri, 27 May 2011 23:46:47 +0000 (23:46 +0000)]
== FFMPEG ==
Revert of "SVN commit: /data/svn/bf-blender [36957]
trunk/blender/source/gameengine/ VideoTexture/VideoFFmpeg.cpp: fix for
ffmpeg linking in BGE ( patch by Jens Verwiebe (jensverwiebe) over IRC)"

Sorry folks, that patch breaks current ffmpeg GIT version.

Good news: it's all handled now automagically by ffmpeg_compat.h in
intern/ffmpeg

so: everything should be fine and dandy for very old and very new versions.

8 years ago== FFMPEG ==
Peter Schlaile [Fri, 27 May 2011 23:33:40 +0000 (23:33 +0000)]
== FFMPEG ==

Added central compatibility header file, which enables blender to compile
against very old ffmpeg versions as well as very new versions using the
*NEW* API. (Old API functions are simulated using macros and inline functions)

Added a whole lot of additional checks, tested against 6 different versions
down the timeline, hopefully, now finally all is well.

8 years agofix for ffmpeg linking in BGE (patch by Jens Verwiebe (jensverwiebe) over IRC)
Dalai Felinto [Fri, 27 May 2011 21:13:44 +0000 (21:13 +0000)]
fix for ffmpeg linking in BGE (patch by Jens Verwiebe (jensverwiebe) over IRC)
- av_parse_video_rate(&frameRate, rateStr);
+ av_parse_video_frame_rate(&frameRate, rateStr);

8 years agoAttempted fix for #27482: game engine running slow due to revision 36698 which
Brecht Van Lommel [Fri, 27 May 2011 16:20:49 +0000 (16:20 +0000)]
Attempted fix for #27482: game engine running slow due to revision 36698 which
fixed frame colors for letterbox drawing (happens when in camera view).

Cause is unclear, seems some sort of strange graphics driver thing on 32 bit.
Changes are a fix for the incorrect usage of glViewport, and avoiding the extra
clear if it's not needed.

8 years agoMerged with Merged with trunk: 36905-36950
Jason Wilkins [Fri, 27 May 2011 13:08:09 +0000 (13:08 +0000)]
Merged with Merged with trunk: 36905-36950

8 years agoMerge Cleanup.
Jason Wilkins [Fri, 27 May 2011 12:42:11 +0000 (12:42 +0000)]
Merge Cleanup.
Third attempt to make sure branch is a copy of trunk revision 36905.  A few more fixes.

8 years agoMerge Cleanup.
Jason Wilkins [Fri, 27 May 2011 11:02:36 +0000 (11:02 +0000)]
Merge Cleanup.
Second attempt to make sure branch is a copy of trunk revision 36905.  Just missed a few files.

8 years agoWindows installer and Path changes, fixing various issues:
Brecht Van Lommel [Fri, 27 May 2011 09:57:53 +0000 (09:57 +0000)]
Windows installer and Path changes, fixing various issues:

* Windows installer not working for non-admin users and multiple users
* Addon scripts not installing next to user configuration
* Portable install not being taken into account in all places

The main problem was the windows installer was installing system scripts in
AppData next to the user configuration directory, which is not shared between
users. Now these are installed in ProgramFiles, and only addon scripts added
by the users go to AppData.

On all platforms, addon scripts were sometimes getting installed between
system scripts, because the scripts folder in the executable directory was
given precedence over the user configuration folder, that is no longer done
now. So addons now behave like user configuration, they are preserved even
if you download a newer build of the same blender version.

If you have an installation of 2.57 on windows, the addon install location
will not change until we do the version bump to 2.58, to avoid conflicts with
the existing the installed 2.57 version.

The old behavior of giving precedence to the local folder was done to support
portable install, where all configuration is written to the local folder. This
is now implemented differently: if and only if a "config" folder exists in the
local folder, portable install will be assumed, and files will only be written
to that local folder.

8 years ago== FFMPEG ==
Peter Schlaile [Fri, 27 May 2011 07:47:42 +0000 (07:47 +0000)]
== FFMPEG ==

Fixed and added additional ffmpeg cruft checking. Oh dear.

8 years agoMerge Cleanup.
Jason Wilkins [Fri, 27 May 2011 07:24:38 +0000 (07:24 +0000)]
Merge Cleanup.
First attempt to make sure branch is a copy of trunk revision 36905 except for files that have for sure been edited. There are a few minor edits to the changed files but nothing functional.  There will probably be a couple of more commits like this before I get a clean diff.

8 years ago== FFMPEG ==
Peter Schlaile [Thu, 26 May 2011 23:51:02 +0000 (23:51 +0000)]
== FFMPEG ==

... and another funny version patch, since OpenSuse obviously used some version "in-between"

8 years agoown recent commits caused crash with the grease pencil in camera view, always pass...
Campbell Barton [Thu, 26 May 2011 23:29:40 +0000 (23:29 +0000)]
own recent commits caused crash with the grease pencil in camera view, always pass rv3d argument now.
also found a bug where hex_to_rgb could use un-initialized memory.

8 years ago== FFMPEG ==
Peter Schlaile [Thu, 26 May 2011 23:19:15 +0000 (23:19 +0000)]
== FFMPEG ==

Added some API compatibility code again, since some API-changes weren't even documented
(they even didn't do a proper version-bump, arghh!)

If it breaks again, please tell!

8 years agomissed this in recent commit.
Campbell Barton [Thu, 26 May 2011 22:48:06 +0000 (22:48 +0000)]
missed this in recent commit.

8 years agoweight paint mirror, move duplicate code into a function.
Campbell Barton [Thu, 26 May 2011 22:20:29 +0000 (22:20 +0000)]
weight paint mirror, move duplicate code into a function.

8 years ago== FFMPEG ==
Peter Schlaile [Thu, 26 May 2011 21:57:02 +0000 (21:57 +0000)]
== FFMPEG ==

* removed a lot of old cruft code for ancient ffmpeg versions
* made it compile again against latest ffmpeg / libav GIT
  (also shouldn't break distro ffmpegs, since those API changes
  have been introduced over a year ago. If it nevertheless breaks,
  please send me an email)

8 years agoremove BLI_streq() since it was hardly used, also replace string search with BLI_find...
Campbell Barton [Thu, 26 May 2011 21:04:01 +0000 (21:04 +0000)]
remove BLI_streq() since it was hardly used, also replace string search with BLI_findstring().

8 years agosplit BLO_library_append_named_part into 2 function, one that adds objects into the...
Campbell Barton [Thu, 26 May 2011 20:45:19 +0000 (20:45 +0000)]
split BLO_library_append_named_part into 2 function, one that adds objects into the scene and another that just links/appends.

8 years agosphinx docstrng formatting (some lines were getting really long)
Campbell Barton [Thu, 26 May 2011 19:13:01 +0000 (19:13 +0000)]
sphinx docstrng formatting (some lines were getting really long)

8 years agouse a dynamic enum for addons, annoyingly the enum was being generated from python...
Campbell Barton [Thu, 26 May 2011 18:11:59 +0000 (18:11 +0000)]
use a dynamic enum for addons, annoyingly the enum was being generated from python for each of the addon buttons (~14 times per draw) which was noticeably slow, so disabling 'expand' for now.

Eventually it would be good to have the expanded buttons all using the same result from itemf().

8 years agosupport for dynamic items in bpy.props.EnumProperty(), the items keyword argument...
Campbell Barton [Thu, 26 May 2011 16:07:28 +0000 (16:07 +0000)]
support for dynamic items in bpy.props.EnumProperty(), the items keyword argument can optionally be a function rather then a list.

8 years agoadd the property as an argument to enum item functions, not used yet but needed for...
Campbell Barton [Thu, 26 May 2011 13:38:16 +0000 (13:38 +0000)]
add the property as an argument to enum item functions, not used yet but needed for dynamic python enums.

8 years agoSince we don't support win2k or older anymore, remove old shortname code. Finally...
Nathan Letwory [Thu, 26 May 2011 12:23:11 +0000 (12:23 +0000)]
Since we don't support win2k or older anymore, remove old shortname code. Finally nice full names.

8 years agofix for installing blender as a python module with cmake.
Campbell Barton [Thu, 26 May 2011 12:15:42 +0000 (12:15 +0000)]
fix for installing blender as a python module with cmake.

8 years agoMerged with trunk: 34893-36905
Jason Wilkins [Thu, 26 May 2011 12:02:31 +0000 (12:02 +0000)]
Merged with trunk: 34893-36905

8 years agoupdate to build system excluding parts of the python bundle.
Campbell Barton [Thu, 26 May 2011 11:45:25 +0000 (11:45 +0000)]
update to build system excluding parts of the python bundle.

8 years agoFix #27465: used light groups did not get linked in with materials automatically.
Brecht Van Lommel [Thu, 26 May 2011 10:25:51 +0000 (10:25 +0000)]
Fix #27465: used light groups did not get linked in with materials automatically.

8 years agoFix #27480: armature multimodifier was not working in edit mode.
Brecht Van Lommel [Thu, 26 May 2011 10:21:09 +0000 (10:21 +0000)]
Fix #27480: armature multimodifier was not working in edit mode.

8 years agoFix #27445: various operators missing with some non-english system languages.
Brecht Van Lommel [Thu, 26 May 2011 09:58:22 +0000 (09:58 +0000)]
Fix #27445: various operators missing with some non-english system languages.

In the case of this bug e.g. material.new became MATERiAL_OT_new, due to
different capitalization of "i" in Turkish. Fixed by not using the locale
dependent toupper/tolower functions.

8 years agoUse proper checking for image source
Sergey Sharybin [Thu, 26 May 2011 09:46:51 +0000 (09:46 +0000)]
Use proper checking for image source

8 years agocorrect spelling error and some pep8 changes.
Campbell Barton [Thu, 26 May 2011 09:33:51 +0000 (09:33 +0000)]
correct spelling error and some pep8 changes.

8 years agoBUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug...
Dalai Felinto [Thu, 26 May 2011 09:20:30 +0000 (09:20 +0000)]
BUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug report, no number)

When trimmed the seq->len was being reduced from the offsets (initial and final). This was the length passed to the elements.
This had two problems:
1) it would not allow you to change the elements not visible (although you likely want to change them as well).
2) the element[0] was always the seq->strips[0].stripdata[0], regardless of the initial trim.

Anyhoo it's all working now.
Thanks Campbell for helping out with this one.

8 years agoMerged wm_operators.c with trunk. Had to set asside my on-surface brush code so I...
Jason Wilkins [Thu, 26 May 2011 09:08:37 +0000 (09:08 +0000)]
Merged wm_operators.c with trunk. Had to set asside my on-surface brush code so I can reintegrate it later.  revisions 34399-36874

8 years agomove less common mesh operations out of bpy_types into bpy_extras.mesh_utils
Campbell Barton [Thu, 26 May 2011 07:16:56 +0000 (07:16 +0000)]
move less common mesh operations out of bpy_types into bpy_extras.mesh_utils

8 years agofix [#27485] Create new shapekey on lattice
Campbell Barton [Thu, 26 May 2011 06:34:31 +0000 (06:34 +0000)]
fix [#27485] Create new shapekey on lattice

8 years agofix for mistake in selecting vertex groups (own recent commit)
Campbell Barton [Thu, 26 May 2011 05:40:00 +0000 (05:40 +0000)]
fix for mistake in selecting vertex groups (own recent commit)

8 years agoMerged with trunk: 34340-34892
Jason Wilkins [Thu, 26 May 2011 05:39:40 +0000 (05:39 +0000)]
Merged with trunk: 34340-34892

8 years agofcurve/boolean evaluation, values below zero are no longer evaluated to true.
Campbell Barton [Thu, 26 May 2011 05:35:30 +0000 (05:35 +0000)]
fcurve/boolean evaluation, values below zero are no longer evaluated to true.

8 years agoMerged with trunk: 33704-34399
Jason Wilkins [Thu, 26 May 2011 02:35:55 +0000 (02:35 +0000)]
Merged with trunk: 33704-34399

8 years agoHand merged sculpt.c with trunk. Revisions: 31364-36811
Jason Wilkins [Thu, 26 May 2011 02:25:05 +0000 (02:25 +0000)]
Hand merged sculpt.c with trunk.  Revisions: 31364-36811
Previous commit of paint_stroke.c was actually revisions: 30860-36797
Untested, as before this is a starting point and I'm just saving it so I can continue merging.

8 years agofix [#27478] Crash on image editor after loading exr images
Campbell Barton [Wed, 25 May 2011 11:06:30 +0000 (11:06 +0000)]
fix [#27478] Crash on image editor after loading exr images
patch from Ryakiotakis Antonis (psy-fi) with minor change.

8 years agoHand merged from trunk paint_stroke.c revisions 30641-36811.
Jason Wilkins [Wed, 25 May 2011 10:42:36 +0000 (10:42 +0000)]
Hand merged from trunk paint_stroke.c revisions 30641-36811.
Doing it this way means there is no precise history of changes in my branch, but history should be preserved in trunk.
Not compiled or tested yet, just committing to get it saved separately from the rest of this merge.

8 years agofix [#27479] Missing 'Select vertex groups under the cursor' in weight paint mode
Campbell Barton [Wed, 25 May 2011 10:07:59 +0000 (10:07 +0000)]
fix [#27479] Missing 'Select vertex groups under the cursor' in weight paint mode
really todo :) but still needs to be done.

Split this into 2 operators, works like 2.4x
- Ctrl+LMB samples weight.
- Shift+LMB selects vertex groups.

8 years agoMerged with trunk: 33093-33703
Jason Wilkins [Wed, 25 May 2011 03:04:31 +0000 (03:04 +0000)]
Merged with trunk: 33093-33703

8 years agoMerged with trunk: 32509-33092
Jason Wilkins [Tue, 24 May 2011 22:51:46 +0000 (22:51 +0000)]
Merged with trunk: 32509-33092

8 years agoMerge with trunk: 31359-31956
Jason Wilkins [Tue, 24 May 2011 21:59:59 +0000 (21:59 +0000)]
Merge with trunk: 31359-31956

8 years agoMerged with trunk: 30832-31359
Jason Wilkins [Tue, 24 May 2011 20:28:15 +0000 (20:28 +0000)]
Merged with trunk: 30832-31359

8 years agocmake's install target now works for the python module on *nix.
Campbell Barton [Tue, 24 May 2011 18:34:07 +0000 (18:34 +0000)]
cmake's install target now works for the python module on *nix.

8 years agoremove some warnings and possible use of un-initialized vars.
Campbell Barton [Tue, 24 May 2011 17:25:11 +0000 (17:25 +0000)]
remove some warnings and possible use of un-initialized vars.

8 years agouse PyDoc_STRVAR macro, so its possible to build without docstrings.
Campbell Barton [Tue, 24 May 2011 16:05:51 +0000 (16:05 +0000)]
use PyDoc_STRVAR macro, so its possible to build without docstrings.

8 years agoloading data with bpy.data.libraries.load(), now swaps out the strings in the list...
Campbell Barton [Tue, 24 May 2011 15:21:14 +0000 (15:21 +0000)]
loading data with bpy.data.libraries.load(), now swaps out the strings in the list to load with the actual datablocks, this is convenient because it saves the script author having to find them after.

also raise warnings rather then errors if the datablock can't be found.

8 years agoBLO_library_append_named_part now returns the newly linked/appended datablock.
Campbell Barton [Tue, 24 May 2011 15:02:46 +0000 (15:02 +0000)]
BLO_library_append_named_part now returns the newly linked/appended datablock.

8 years agolookup table for axis conversion was wrong in some places.
Campbell Barton [Tue, 24 May 2011 12:55:29 +0000 (12:55 +0000)]
lookup table for axis conversion was wrong in some places.

8 years agoclamp delta to prevent cases where strength is a huge number. Very high values would...
Nathan Letwory [Tue, 24 May 2011 11:20:33 +0000 (11:20 +0000)]
clamp delta to prevent cases where strength is a huge number. Very high values would lead to scale problems of objects.

8 years agoFix for mingw 64bit fix.
Brecht Van Lommel [Tue, 24 May 2011 11:19:11 +0000 (11:19 +0000)]
Fix for mingw 64bit fix.

8 years agoAttempt to fix mingw 64 bit compile error.
Brecht Van Lommel [Tue, 24 May 2011 11:01:39 +0000 (11:01 +0000)]
Attempt to fix mingw 64 bit compile error.

8 years agobpy_extras.io_utils.axis_conversion() was returning wrong matrix.
Campbell Barton [Tue, 24 May 2011 08:11:51 +0000 (08:11 +0000)]
bpy_extras.io_utils.axis_conversion() was returning wrong matrix.

8 years agofix for option WITH_CXX_GUARDEDALLOC with msvc
Campbell Barton [Tue, 24 May 2011 06:44:39 +0000 (06:44 +0000)]
fix for option WITH_CXX_GUARDEDALLOC with msvc

8 years agofix for using uninitialized vars in own recent commit.
Campbell Barton [Tue, 24 May 2011 05:22:58 +0000 (05:22 +0000)]
fix for using uninitialized vars in own recent commit.

8 years agofix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
Campbell Barton [Tue, 24 May 2011 05:21:51 +0000 (05:21 +0000)]
fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC

8 years agoFix #26728: crash with load/save on Mac, on files that close & open a window
Brecht Van Lommel [Mon, 23 May 2011 15:56:26 +0000 (15:56 +0000)]
Fix #26728: crash with load/save on Mac, on files that close & open a window
when loading them. Custom cursor shown during load was not freed correctly
when closing the old window, which resulted in unpredictable crashes later on.

8 years agofix [#27462] Linked Object (camera) can be moved by Lock Camera to View
Campbell Barton [Mon, 23 May 2011 15:46:09 +0000 (15:46 +0000)]
fix [#27462] Linked Object (camera) can be moved by Lock Camera to View

8 years agoremove unused code, comment some that may be useful (maintainers can remove).
Campbell Barton [Mon, 23 May 2011 15:23:31 +0000 (15:23 +0000)]
remove unused code, comment some that may be useful (maintainers can remove).

8 years agoCMake changes
Campbell Barton [Mon, 23 May 2011 14:56:14 +0000 (14:56 +0000)]
CMake changes
- don't allow building if the LIBDIR is not found on mac/windows.
- by default use -O2 rather then -O3 for GCC release flags, was crashing some GCC versions and blender releases are supposed to use -O2.

8 years agoFix print_rctf not printing y max correct.
Brecht Van Lommel [Mon, 23 May 2011 14:51:31 +0000 (14:51 +0000)]
Fix print_rctf not printing y max correct.

8 years agofix [#26618] StringProperty with sub_type of FILE_PATH not updated correctly from...
Campbell Barton [Mon, 23 May 2011 10:14:07 +0000 (10:14 +0000)]
fix [#26618] StringProperty with sub_type of FILE_PATH not updated correctly from icon

8 years agofix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right click on...
Campbell Barton [Mon, 23 May 2011 08:14:29 +0000 (08:14 +0000)]
fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right click on header not working
also get rig of more shadowed vars (-Wshadow).

8 years agoown recent commit broke zoom to mouseloc
Campbell Barton [Mon, 23 May 2011 02:59:29 +0000 (02:59 +0000)]
own recent commit broke zoom to mouseloc

8 years agofix [#27459] Flymode moves parent
Campbell Barton [Mon, 23 May 2011 02:53:30 +0000 (02:53 +0000)]
fix [#27459] Flymode moves parent
for durian we had camera rigs which needed to have the parent transformed rather then the camera, for this reason I made fly mode fly the parent rather then the camera its self.

Make this a preference and use this for view camera/view locking too.

8 years agofix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4...
Campbell Barton [Mon, 23 May 2011 02:23:03 +0000 (02:23 +0000)]
fix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4. added doxygen docs.

8 years agofix [#27443] "Make single user Material+Tex" doesn't work for textures
Campbell Barton [Sun, 22 May 2011 17:10:24 +0000 (17:10 +0000)]
fix [#27443] "Make single user Material+Tex" doesn't work for textures

8 years agoremove / comment unused code, patch by nico_ga on IRC with some edits.
Campbell Barton [Sun, 22 May 2011 16:29:51 +0000 (16:29 +0000)]
remove / comment unused code, patch by nico_ga on IRC with some edits.