blender.git
8 years agosvn merge ^/trunk/blender -r45927:HEAD --accept=theirs-full
Ove Murberg Henriksen [Wed, 9 May 2012 14:55:50 +0000 (14:55 +0000)]
svn merge ^/trunk/blender -r45927:HEAD --accept=theirs-full

This revision does not compile. code need to be merged in manualy.

8 years agoRemove unneeded and unused patch for libmv
Sergey Sharybin [Wed, 9 May 2012 12:30:15 +0000 (12:30 +0000)]
Remove unneeded and unused patch for libmv

8 years agoFix #31366: check to enable opengl quadbuffer stereo was wrong, causing it to
Brecht Van Lommel [Wed, 9 May 2012 11:11:35 +0000 (11:11 +0000)]
Fix #31366: check to enable opengl quadbuffer stereo was wrong, causing it to
not work and making other stereo modes not work when the graphics card did not
support quadbuffer stereo.

8 years agocode cleanup: color/bw conversion - use BLI color function.
Campbell Barton [Wed, 9 May 2012 10:48:24 +0000 (10:48 +0000)]
code cleanup: color/bw conversion - use BLI color function.

change modifier to use the average of the RGB since perceptual conversion isn't really needed for modifiers.

8 years agoFix for recent changes in glsl
Sergey Sharybin [Wed, 9 May 2012 10:14:01 +0000 (10:14 +0000)]
Fix for recent changes in glsl

smooth seems to be a keyword in glsl and using it as a name for function property caused issues.

8 years agoclassic compile error: GLEW_STATIC needs to be define when we use opengl functions
Antony Riakiotakis [Wed, 9 May 2012 09:49:24 +0000 (09:49 +0000)]
classic compile error: GLEW_STATIC needs to be define when we use opengl functions

8 years agostyle cleanup: whitespace/operators
Campbell Barton [Wed, 9 May 2012 09:24:15 +0000 (09:24 +0000)]
style cleanup: whitespace/operators

8 years agoFix #31349: Composite node is not found when part of a group.
Sergey Sharybin [Wed, 9 May 2012 09:02:06 +0000 (09:02 +0000)]
Fix #31349: Composite node is not found when part of a group.

Made smarter check for composite output node which now checks if there are
composite output nodes in group nodes.

8 years agoCamera tracking: fixes for tracking of float images
Sergey Sharybin [Wed, 9 May 2012 08:33:11 +0000 (08:33 +0000)]
Camera tracking: fixes for tracking of float images

- Fixed suddenly disappearing preview image from track widget
- Also suddenly stopping tracking should be fixed now

Both issues were caused by mixing working with floats and bytes and
in some cases it was wrong or missed checks done for this.

8 years agoUpdate Eigen3 library, would be needed for some further integraiton.
Sergey Sharybin [Wed, 9 May 2012 08:33:05 +0000 (08:33 +0000)]
Update Eigen3 library, would be needed for some further integraiton.

8 years agocopy constraints to object/bones had same name (made operator search confusing)
Campbell Barton [Wed, 9 May 2012 08:29:37 +0000 (08:29 +0000)]
copy constraints to object/bones had same name (made operator search confusing)

8 years agoFix #31369. Needed some do_versions backward compatibility code to ensure the old...
Lukas Toenne [Wed, 9 May 2012 08:28:50 +0000 (08:28 +0000)]
Fix #31369. Needed some do_versions backward compatibility code to ensure the old file path was split correctly into base path + filename.

8 years agoApply [#31335] COLLADA: fix for odd names for materials in exported dae files
Nathan Letwory [Wed, 9 May 2012 08:14:49 +0000 (08:14 +0000)]
Apply [#31335] COLLADA: fix for odd names for materials in exported dae files
Patch by Gaia Clary

This patch removes the index numbering from materials, which is not necessary.

8 years agofix [#31368] No masking drawn in Weightpaint-mode when displayed as wireframe
Campbell Barton [Wed, 9 May 2012 06:22:29 +0000 (06:22 +0000)]
fix [#31368] No masking drawn in Weightpaint-mode when displayed as wireframe

8 years agobgl new methods (for glsl shaders - #version 120)
Dalai Felinto [Wed, 9 May 2012 02:42:30 +0000 (02:42 +0000)]
bgl new methods (for glsl shaders - #version 120)

** I did not update rst docs. I will post on the quick-hack list. If no one volunteers to do it, I have it done before next release. **

this patch add the barebone functions to do glsl shaders in an addon.
For simplicity sakes it supports old GLSL, but not all the new modern methods (glBindFragDataLocation, ...).

It should be enough to make an addon to help with bge 2d filters.
I'm using this with a 3dview callback and it's working nicely:
self._handle = context.region.callback_add(draw_callback_px, (self, context), 'POST_VIEW')

I was considering not to commit this patch due to it not covering all OpenGL new methods.
But frankly it's not the first time bgl is expanded upon individual needs (guilty of that myself).
If a python developer knows enough to use OpenGL and need new functions, s/he should also be able to patch Blender for that,
so I see no problems here.

Another solution is to move to PyOpenGL or similar any soon.

glShaderSource implemented differently than opengl standards. It's taking one source at a time (instead of an array of sources).
This is similar with PyOpenGL solution.

glActiveTexture
glAttachShader
glCompileShader
glCreateProgram
glCreateShader
glDeleteProgram
glDeleteShader
glDetachShader
glGetAttachedShaders
glGetProgramInfoLog
glGetProgramiv
glGetShaderInfoLog
glGetShaderiv
glGetShaderSource
glGetUniformLocation
glIsProgram
glIsShader
glLinkProgram
glShaderSource
glUniform1f
glUniform2f
glUniform3f
glUniform4f
glUniform1fv
glUniform2fv
glUniform3fv
glUniform4fv
glUniform1i
glUniform2i
glUniform3i
glUniform4i
glUniform1iv
glUniform2iv
glUniform3iv
glUniform4iv
glUniformMatrix2fv
glUniformMatrix3fv
glUniformMatrix4fv
glUniformMatrix2x3fv
glUniformMatrix3x2fv
glUniformMatrix2x4fv
glUniformMatrix4x2fv
glUniformMatrix3x4fv
glUniformMatrix4x3fv
glUseProgram
glValidateProgram

8 years agoupdate stubs for blenderplayer
Antony Riakiotakis [Tue, 8 May 2012 23:48:04 +0000 (23:48 +0000)]
update stubs for blenderplayer

8 years agoCycles: fix issues with texture coordinates and object scale. Auto texture
Brecht Van Lommel [Tue, 8 May 2012 23:39:31 +0000 (23:39 +0000)]
Cycles: fix issues with texture coordinates and object scale. Auto texture
space size and location were outdated often, and already computed on demand
by blender internal, now do that through RNA as well.

8 years agoEnhance logging in libmv's trackers.
Keir Mierle [Tue, 8 May 2012 23:13:53 +0000 (23:13 +0000)]
Enhance logging in libmv's trackers.
Cleanups in brute_region_tracker.cc.

8 years agoFix division by zero case in dualcon.
Nicholas Bishop [Tue, 8 May 2012 22:11:16 +0000 (22:11 +0000)]
Fix division by zero case in dualcon.

8 years agoCode style cleanup in intern/dualcon.
Nicholas Bishop [Tue, 8 May 2012 22:11:05 +0000 (22:11 +0000)]
Code style cleanup in intern/dualcon.

8 years agoPython/context: python could get invalid bpy.data in scene update handler after
Brecht Van Lommel [Tue, 8 May 2012 22:07:06 +0000 (22:07 +0000)]
Python/context: python could get invalid bpy.data in scene update handler after
undo.

The way this got updated from the context is a bit unreliable, and for handlers
the update couldn't happen because there is no context passed in. Now it's
updated from setup_app_data, which is where the change actually happens. I left
in the other updates to be sure but they should not be needed anymore.

8 years agostyle cleanup: graph & armature
Campbell Barton [Tue, 8 May 2012 20:18:33 +0000 (20:18 +0000)]
style cleanup: graph & armature

8 years agoFix 31370: light falloff node linear output not working code.
Brecht Van Lommel [Tue, 8 May 2012 19:57:56 +0000 (19:57 +0000)]
Fix 31370: light falloff node linear output not working code.
Fix part of thread safety issue, there's still something else wrong.

8 years agomerging back to a version that works...
Ove Murberg Henriksen [Tue, 8 May 2012 19:49:39 +0000 (19:49 +0000)]
merging back to a version that works...
svn merge -r46433:46359 .

8 years agostyle cleanup: gpencil & metaball
Campbell Barton [Tue, 8 May 2012 18:29:02 +0000 (18:29 +0000)]
style cleanup: gpencil & metaball

8 years agostyle cleanup: nla
Campbell Barton [Tue, 8 May 2012 18:05:57 +0000 (18:05 +0000)]
style cleanup: nla

8 years agostyle cleanup: space action
Campbell Barton [Tue, 8 May 2012 16:02:13 +0000 (16:02 +0000)]
style cleanup: space action

8 years agostyle cleanup: view3d
Campbell Barton [Tue, 8 May 2012 15:55:29 +0000 (15:55 +0000)]
style cleanup: view3d

8 years agostyle cleanup: screen
Campbell Barton [Tue, 8 May 2012 15:43:59 +0000 (15:43 +0000)]
style cleanup: screen

8 years agostyle cleanup: animation + buttons
Campbell Barton [Tue, 8 May 2012 15:30:00 +0000 (15:30 +0000)]
style cleanup: animation + buttons

8 years agoFix #31350, by Sergey Sharybin.
Lukas Toenne [Tue, 8 May 2012 15:14:59 +0000 (15:14 +0000)]
Fix #31350, by Sergey Sharybin.

This happens because of how output node index is initializing in assign_index function: itterator goes to the beginning of the nodes list using node->prev and then reviews the whole node list to find first unused index. The problem is that node's initialization now is getting called before node was added to node tree, so all output nodes have got equal index.

8 years agoFix #31363. Group interface sockets don't have a parent node, so the API function...
Lukas Toenne [Tue, 8 May 2012 14:58:59 +0000 (14:58 +0000)]
Fix #31363. Group interface sockets don't have a parent node, so the API function has to check that before making the update call.

8 years agooptimize ngon angle calculation in solidify modifier (was doing prev/next vector...
Campbell Barton [Tue, 8 May 2012 14:58:38 +0000 (14:58 +0000)]
optimize ngon angle calculation in solidify modifier (was doing prev/next vector subtract and normalize for every vertex). now store the previous normalized vector for re-use.

also add BKE_mesh_poly_calc_angles() which is mostly a reference for now.

8 years agostyle cleanup: misc editor changes.
Campbell Barton [Tue, 8 May 2012 11:48:19 +0000 (11:48 +0000)]
style cleanup: misc editor changes.

8 years agostyle cleanup: editcurve
Campbell Barton [Tue, 8 May 2012 11:42:29 +0000 (11:42 +0000)]
style cleanup: editcurve

8 years agoFix reseting of particle lifetime and unborn feature when adding smoke - reported...
Daniel Genrich [Tue, 8 May 2012 11:39:32 +0000 (11:39 +0000)]
Fix reseting of particle lifetime and unborn feature when adding smoke - reported by blendernation

8 years agofix for own mistake for ctrl+left/right movement and code cleanup for txt_jump_left...
Sv. Lockal [Tue, 8 May 2012 11:18:20 +0000 (11:18 +0000)]
fix for own mistake for ctrl+left/right movement and code cleanup for txt_jump_left/right

8 years agostyle cleanup: seqeffects
Campbell Barton [Tue, 8 May 2012 09:31:25 +0000 (09:31 +0000)]
style cleanup: seqeffects

8 years agoFix #31332: VSE drag and drop onto timeline buggy
Sergey Sharybin [Tue, 8 May 2012 09:10:58 +0000 (09:10 +0000)]
Fix #31332: VSE drag and drop onto timeline buggy

8 years agoFix #31344: MovieClip python custom properties are reset when reopen the file
Sergey Sharybin [Tue, 8 May 2012 07:31:02 +0000 (07:31 +0000)]
Fix #31344: MovieClip python custom properties are reset when reopen the file

8 years agondof: restored support for older serial port 3D mice on Linux (R45951 broke it, oops)
Mike Erwin [Tue, 8 May 2012 05:04:29 +0000 (05:04 +0000)]
ndof: restored support for older serial port 3D mice on Linux (R45951 broke it, oops)

8 years agosvn merge ^/trunk/blender -r46380:HEAD
Ove Murberg Henriksen [Tue, 8 May 2012 00:22:02 +0000 (00:22 +0000)]
svn merge ^/trunk/blender -r46380:HEAD

8 years agosvn merge ^/trunk/blender -r46380:46390
Ove Murberg Henriksen [Tue, 8 May 2012 00:12:47 +0000 (00:12 +0000)]
svn merge ^/trunk/blender -r46380:46390

8 years agosvn merge ^/trunk/blender -r46370:46380
Ove Murberg Henriksen [Tue, 8 May 2012 00:09:00 +0000 (00:09 +0000)]
svn merge ^/trunk/blender -r46370:46380
1 Tree conflict
I deleted the source/tools/GL and then ran:
svn -r46380 co https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/tools/GL
svn resolve --accept working -R source/tools/GL

8 years agosvn merge ^/trunk/blender -r46360:46370
Ove Murberg Henriksen [Mon, 7 May 2012 23:40:17 +0000 (23:40 +0000)]
svn merge ^/trunk/blender -r46360:46370

8 years agosvn merge ^/trunk/blender -r46340:46350
Ove Murberg Henriksen [Mon, 7 May 2012 23:36:22 +0000 (23:36 +0000)]
svn merge ^/trunk/blender -r46340:46350

8 years agosvn merge ^/trunk/blender -r46340:46350
Ove Murberg Henriksen [Mon, 7 May 2012 23:27:27 +0000 (23:27 +0000)]
svn merge ^/trunk/blender -r46340:46350

8 years agosvn merge ^/trunk/blender -r46335:46340
Ove Murberg Henriksen [Mon, 7 May 2012 23:23:55 +0000 (23:23 +0000)]
svn merge ^/trunk/blender -r46335:46340

1 tree conflict. Resolved:
I deleted source/tools/GL.
Then I checked out folder from trunk (revision 46340)
Then I ran: resolve --accept working source/tools/GL

8 years agosvn merge ^/trunk/blender -r46330:46335
Ove Murberg Henriksen [Mon, 7 May 2012 22:28:59 +0000 (22:28 +0000)]
svn merge ^/trunk/blender -r46330:46335

8 years agoadding kernel_projection.h in CMakelists
Dalai Felinto [Mon, 7 May 2012 20:37:48 +0000 (20:37 +0000)]
adding kernel_projection.h in CMakelists

8 years agoCycles: add light falloff node, with quadratic/linear/constant falloff and a
Brecht Van Lommel [Mon, 7 May 2012 20:24:38 +0000 (20:24 +0000)]
Cycles: add light falloff node, with quadratic/linear/constant falloff and a
smoothing factor to reduce high values near the light.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Falloff

Note that this was already possible to do manually with the Ray Length, but
this adds a convenient node for it. This commit also makes the mapping node
min/max option work, fixing #31348.

8 years agoCollada: patch #31331: added missing call to BKE_mesh_tessface_ensure() when 'apply...
Gaia Clary [Mon, 7 May 2012 19:08:01 +0000 (19:08 +0000)]
Collada: patch #31331: added missing call to BKE_mesh_tessface_ensure() when 'apply Modifiers' was NOT selected

8 years agostyle cleanup: avi
Campbell Barton [Mon, 7 May 2012 18:30:04 +0000 (18:30 +0000)]
style cleanup: avi

8 years agofix [#31354] Segfault with "Extrude Individual Faces and Move"
Campbell Barton [Mon, 7 May 2012 18:12:31 +0000 (18:12 +0000)]
fix [#31354] Segfault with "Extrude Individual Faces and Move"

8 years agoCollada: patch #31331: Implementation of 'Apply Modifiers'
Gaia Clary [Mon, 7 May 2012 18:09:59 +0000 (18:09 +0000)]
Collada: patch #31331: Implementation of 'Apply Modifiers'

8 years agofix [#31347] solidify modifier > even thickness parameter weired
Campbell Barton [Mon, 7 May 2012 18:07:34 +0000 (18:07 +0000)]
fix [#31347] solidify modifier > even thickness parameter weired

8 years agostyle cleanup: outliner
Campbell Barton [Mon, 7 May 2012 17:56:30 +0000 (17:56 +0000)]
style cleanup: outliner

8 years agocycles-fisheye: fixed formula for dir to equisolid
Dalai Felinto [Mon, 7 May 2012 17:22:13 +0000 (17:22 +0000)]
cycles-fisheye: fixed formula for dir to equisolid
second time I need a scond commit to get the equisolid formula right, shame on me ;)
the formula is:
r = 2 x focallength x sin (theta / 2)

8 years agodirection to equisolid - final fix for [#31307] Cycles panoramic fisheye lens and...
Dalai Felinto [Mon, 7 May 2012 16:51:55 +0000 (16:51 +0000)]
direction to equisolid - final fix for [#31307] Cycles panoramic fisheye lens and vector pass problem

8 years agoSome misc fixes to UI messages...
Bastien Montagne [Mon, 7 May 2012 15:50:57 +0000 (15:50 +0000)]
Some misc fixes to UI messages...

8 years agofix for solidify modifier angle calculation (was incorrectly using normalized angle...
Campbell Barton [Mon, 7 May 2012 15:45:41 +0000 (15:45 +0000)]
fix for solidify modifier angle calculation (was incorrectly using normalized angle function)

8 years agoGHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
Brecht Van Lommel [Mon, 7 May 2012 13:42:25 +0000 (13:42 +0000)]
GHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
already doing it and this change breaks something? Still it seems strange that it
is doing tablet stuff in this part of the code then.

8 years agoGHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
Brecht Van Lommel [Mon, 7 May 2012 10:53:12 +0000 (10:53 +0000)]
GHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
to test it though, can someone with Mac + tablet confirm if continuous grab
gets automatically disabled when using the tablet?

8 years agoFix most of #31307: cycles panorama camera not working correct with speed
Brecht Van Lommel [Mon, 7 May 2012 10:53:09 +0000 (10:53 +0000)]
Fix most of #31307: cycles panorama camera not working correct with speed
vectors and window texture coordinates. Only for Fisheye Equisolid it's
still not working correct yet. Patch from Dalai with modifications.

8 years agoStyle cleanup: change ffmpeg, avi and frame server api to rna-ish naming style
Sergey Sharybin [Mon, 7 May 2012 09:30:15 +0000 (09:30 +0000)]
Style cleanup: change ffmpeg, avi and frame server api to rna-ish naming style

8 years agoCleanup of intern/SConstript: CSG is not in source tree anymore, remove option to...
Sergey Sharybin [Mon, 7 May 2012 09:01:55 +0000 (09:01 +0000)]
Cleanup of intern/SConstript: CSG is not in source tree anymore, remove option to use it

8 years agoWoops, some unwanted spaces remained in source files.
Sergey Sharybin [Mon, 7 May 2012 08:55:29 +0000 (08:55 +0000)]
Woops, some unwanted spaces remained in source files.

8 years agoStyle cleanup of own modules using style checker from Campbell.
Sergey Sharybin [Mon, 7 May 2012 08:53:59 +0000 (08:53 +0000)]
Style cleanup of own modules using style checker from Campbell.

8 years agoStyle cleanup: displist module
Sergey Sharybin [Mon, 7 May 2012 06:58:03 +0000 (06:58 +0000)]
Style cleanup: displist module

8 years agoStyle cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term...
Sergey Sharybin [Mon, 7 May 2012 06:38:41 +0000 (06:38 +0000)]
Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender

8 years agoStyle cleanup in readfile versioning files
Sergey Sharybin [Mon, 7 May 2012 06:32:14 +0000 (06:32 +0000)]
Style cleanup in readfile versioning files

8 years agosvn merge ^/trunk/blender -r46300:46330
Ove Murberg Henriksen [Mon, 7 May 2012 01:04:52 +0000 (01:04 +0000)]
svn merge ^/trunk/blender -r46300:46330

8 years agosvn merge ^/trunk/blender -r46100:46200
Ove Murberg Henriksen [Sun, 6 May 2012 23:06:24 +0000 (23:06 +0000)]
svn merge ^/trunk/blender -r46100:46200

8 years agoFix mac build error after ghost cocoa changes.
Brecht Van Lommel [Sun, 6 May 2012 22:36:51 +0000 (22:36 +0000)]
Fix mac build error after ghost cocoa changes.

8 years agosvn merge ^/trunk/blender -r46000:46100
Ove Murberg Henriksen [Sun, 6 May 2012 22:19:13 +0000 (22:19 +0000)]
svn merge ^/trunk/blender -r46000:46100

some conflicts. had to backup my code, accept with "tc" and introduce my own code again.
Hope I didnt leave anything out.

8 years agoCode cleanup: make changes suggested by check_style for sculpt-related files.
Nicholas Bishop [Sun, 6 May 2012 22:12:26 +0000 (22:12 +0000)]
Code cleanup: make changes suggested by check_style for sculpt-related files.

8 years agoFix float image loading crash in cycles after multithreading changes.
Brecht Van Lommel [Sun, 6 May 2012 22:06:14 +0000 (22:06 +0000)]
Fix float image loading crash in cycles after multithreading changes.

8 years agosvn merge ^/trunk/blender -r45927:46000
Ove Murberg Henriksen [Sun, 6 May 2012 19:32:53 +0000 (19:32 +0000)]
svn merge ^/trunk/blender -r45927:46000

8 years agofix for limited dissolve (after sine intended fixes - not cleaning up before vertex...
Campbell Barton [Sun, 6 May 2012 18:37:08 +0000 (18:37 +0000)]
fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).

now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
  cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.

8 years agofix [#31197] Limited dissolve leaves faces/edges/verts behind
Campbell Barton [Sun, 6 May 2012 18:04:37 +0000 (18:04 +0000)]
fix [#31197] Limited dissolve leaves faces/edges/verts behind

bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.

8 years agostyle cleanup: blenkernel
Campbell Barton [Sun, 6 May 2012 17:22:54 +0000 (17:22 +0000)]
style cleanup: blenkernel

8 years agoED_vgroup_copy_by_nearest_vertex_single:
Ove Murberg Henriksen [Sun, 6 May 2012 17:19:16 +0000 (17:19 +0000)]
ED_vgroup_copy_by_nearest_vertex_single:
Added transformation into target space
ED_vgroup_copy_by_nearest_face_single:
Is incomplete. BVHTree fails.

8 years agoMesh elements sorting refactor.
Bastien Montagne [Sun, 6 May 2012 17:14:56 +0000 (17:14 +0000)]
Mesh elements sorting refactor.

Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).

Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.

Also added bug ref I forgot in r46354 (armature.c).

8 years agocode cleanup: documentation commit
Campbell Barton [Sun, 6 May 2012 16:28:52 +0000 (16:28 +0000)]
code cleanup: documentation commit

8 years agocode cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we...
Campbell Barton [Sun, 6 May 2012 15:59:57 +0000 (15:59 +0000)]
code cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we check for mouse warping.

8 years agodisable warping for tablet events (X11 only), added TODO's for OSX and win32.
Campbell Barton [Sun, 6 May 2012 15:45:48 +0000 (15:45 +0000)]
disable warping for tablet events (X11 only), added TODO's for OSX and win32.

8 years agoFix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature...
Bastien Montagne [Sun, 6 May 2012 15:40:49 +0000 (15:40 +0000)]
Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode

There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(

8 years agoCode cleanup: patch by Thomas to fix PassType values to be consecutive.
Brecht Van Lommel [Sun, 6 May 2012 15:19:36 +0000 (15:19 +0000)]
Code cleanup: patch by Thomas to fix PassType values to be consecutive.

8 years agostyle cleanup: BKE_*.c files which deal with library functions
Campbell Barton [Sun, 6 May 2012 15:15:33 +0000 (15:15 +0000)]
style cleanup: BKE_*.c files which deal with library functions

8 years agoLast part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Bastien Montagne [Sun, 6 May 2012 15:03:31 +0000 (15:03 +0000)]
Last part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Only remaining undocumented one is IMAGE_OT_record_composite (not sure what it actually does, nor even whether it’s actually working or not...).

Note that I didn’t bother with operators flagged as OPTYPE_INTERNAL!

8 years agoupdate for recent RNA change
Campbell Barton [Sun, 6 May 2012 13:41:27 +0000 (13:41 +0000)]
update for recent RNA change

8 years agostyle cleanup: modifiers
Campbell Barton [Sun, 6 May 2012 13:38:33 +0000 (13:38 +0000)]
style cleanup: modifiers

8 years agofix for same bug as r46346, incorrect code was copied.
Campbell Barton [Sun, 6 May 2012 13:00:56 +0000 (13:00 +0000)]
fix for same bug as r46346, incorrect code was copied.

8 years agofix for error in MOD_weightvgmix.c caused by confusion without braces.
Campbell Barton [Sun, 6 May 2012 12:52:42 +0000 (12:52 +0000)]
fix for error in MOD_weightvgmix.c caused by confusion without braces.

CustomData_add_layer_named would run even when the dvert layer was found.

8 years agoBugfix [#31003] Animation data (e.g. actions, drivers) from the active material
Joshua Leung [Sun, 6 May 2012 12:37:19 +0000 (12:37 +0000)]
Bugfix [#31003] Animation data (e.g. actions, drivers) from the active material
of a material nodetree was not visible in the Animation Editors

8 years agoadd back pose specials menu, also add back the ability to clear user transforms on...
Campbell Barton [Sun, 6 May 2012 12:13:45 +0000 (12:13 +0000)]
add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).

- rename only_select op property to only_selected (both were used).
- only do mingw workaround when building with FREE_WINDOWS defined.

8 years agoBugfix [#31330] Shape Key Editor does not switch to assigned Key Action
Joshua Leung [Sun, 6 May 2012 09:41:38 +0000 (09:41 +0000)]
Bugfix [#31330] Shape Key Editor does not switch to assigned Key Action

8 years agoFix for [#31327] Text editor menu incorrect (Patch attached)
Bastien Montagne [Sun, 6 May 2012 07:59:37 +0000 (07:59 +0000)]
Fix for [#31327] Text editor menu incorrect (Patch attached)

Patch by Justin Dailey, thx!

8 years agoTimeline Header: Only show the "use active keyingset only" toggle (beside the
Joshua Leung [Sun, 6 May 2012 06:57:02 +0000 (06:57 +0000)]
Timeline Header: Only show the "use active keyingset only" toggle (beside the
autokey button) if autokeying is enabled. This was only useful when the latter
was actually enabled.

8 years agoBugfix [#31297] Transform menu often showed operators which didn't make sense
Joshua Leung [Sun, 6 May 2012 06:37:07 +0000 (06:37 +0000)]
Bugfix [#31297] Transform menu often showed operators which didn't make sense
for the contexts they appeared in

The VIEW3D_MT_transform menu was being used everywhere, although not all the
operators there applied to the current mode (e.g. the pivot point, animated
transforms to deltas, and a few others were Object-mode only). Split off the
offending parts into separate menus for the specific modes, and made these
extend the basic menu type.