blender.git
7 years agosvn merge ^/trunk/blender -r42957:42967
Campbell Barton [Thu, 29 Dec 2011 06:44:51 +0000 (06:44 +0000)]
svn merge ^/trunk/blender -r42957:42967

7 years agoremove unused initFlags option in mirror modifier
Campbell Barton [Thu, 29 Dec 2011 06:32:50 +0000 (06:32 +0000)]
remove unused initFlags option in mirror modifier

7 years agominor edits to trunk mirror modifier, use unsigned ints since the vertex values are...
Campbell Barton [Thu, 29 Dec 2011 06:07:34 +0000 (06:07 +0000)]
minor edits to trunk mirror modifier, use unsigned ints since the vertex values are unsigned + minor formatting edits

7 years agobugfix: [#29711] Cycles - HSV Node - Hue Change Bug
Dalai Felinto [Thu, 29 Dec 2011 05:40:48 +0000 (05:40 +0000)]
bugfix: [#29711] Cycles - HSV Node - Hue Change Bug
* Adding hue instead of removing it.

fmod doesn't work as % when it comes to negative numbers:
fmod( 1.3, 1) ==  1.3 % 1 == 0.3
fmod(-0.3, 1) != -0.3 % 1

7 years agoarray had its own unused vertgroup_flip_name function. removed.
Campbell Barton [Thu, 29 Dec 2011 04:07:57 +0000 (04:07 +0000)]
array had its own unused vertgroup_flip_name function. removed.

7 years agosyncing modifiers with trunk - only small changes
Campbell Barton [Thu, 29 Dec 2011 04:04:27 +0000 (04:04 +0000)]
syncing modifiers with trunk - only small changes

7 years agooptimized mempool iterator from bmesh
Campbell Barton [Thu, 29 Dec 2011 03:39:59 +0000 (03:39 +0000)]
optimized mempool iterator from bmesh

7 years agoskip sorting loop indices when tesselating if the original poly is a quad or a tri.
Campbell Barton [Thu, 29 Dec 2011 03:24:28 +0000 (03:24 +0000)]
skip sorting loop indices when tesselating if the original poly is a quad or a tri.

7 years agoMingw - use truly relative instead of absolute-relative paths for Boost and OIIO
Joshua Leung [Thu, 29 Dec 2011 02:57:41 +0000 (02:57 +0000)]
Mingw - use truly relative instead of absolute-relative paths for Boost and OIIO

That is, instead of '#../lib/windows/lib_name/include', we're now using BF_LIBNAME + '/include'. This makes it possible to have a single lib folder shared between several local working trees again.

7 years agooptimized version of BLI_mempool_iterstep() which uses branch pradiction to get a...
Campbell Barton [Thu, 29 Dec 2011 02:55:20 +0000 (02:55 +0000)]
optimized version of BLI_mempool_iterstep() which uses branch pradiction to get a little bit more performance, since this is used for looping on all mesh data elements

7 years agosvn merge ^/trunk/blender -r42953:42957
Campbell Barton [Thu, 29 Dec 2011 01:58:47 +0000 (01:58 +0000)]
svn merge ^/trunk/blender -r42953:42957

7 years agoadd UNLIKELY / LIKELY util defines to help optimize iterators that are called a lot...
Campbell Barton [Thu, 29 Dec 2011 01:46:58 +0000 (01:46 +0000)]
add UNLIKELY / LIKELY util defines to help optimize iterators that are called a lot, only defined for gcc at the moment.

also some cmake formatting edits.

7 years agomore mist settings should be accesible to BGE
Dalai Felinto [Thu, 29 Dec 2011 01:38:11 +0000 (01:38 +0000)]
more mist settings should be accesible to BGE

7 years agofile missing from cmake listing
Campbell Barton [Wed, 28 Dec 2011 22:57:25 +0000 (22:57 +0000)]
file missing from cmake listing

7 years agosvn merge ^/trunk/blender -r42940:42953
Campbell Barton [Wed, 28 Dec 2011 22:55:45 +0000 (22:55 +0000)]
svn merge ^/trunk/blender -r42940:42953

7 years agothis missed merging from trunk somehow (mesh make local edits)
Campbell Barton [Wed, 28 Dec 2011 22:47:55 +0000 (22:47 +0000)]
this missed merging from trunk somehow (mesh make local edits)

7 years agosync changes from bmesh r42951 + some other minor edits.
Campbell Barton [Wed, 28 Dec 2011 22:46:10 +0000 (22:46 +0000)]
sync changes from bmesh r42951 + some other minor edits.

7 years agocache customdata checks to avoid looking up on each call to mesh_loops_to_mface_corners()
Campbell Barton [Wed, 28 Dec 2011 22:37:09 +0000 (22:37 +0000)]
cache customdata checks to avoid looking up on each call to mesh_loops_to_mface_corners()

7 years agoFix loading .blend files (disable pre-bmesh forward-compat code for loading MPolys...
Andrew Wiggin [Wed, 28 Dec 2011 21:38:21 +0000 (21:38 +0000)]
Fix loading .blend files (disable pre-bmesh forward-compat code for loading MPolys and converting to MFaces)

7 years agoFix compile error from commit 42941
Howard Trickey [Wed, 28 Dec 2011 21:09:29 +0000 (21:09 +0000)]
Fix compile error from commit 42941

7 years agoFix #29692: 3D Scene is Rendering Bright in the VSE
Sergey Sharybin [Wed, 28 Dec 2011 20:11:36 +0000 (20:11 +0000)]
Fix #29692: 3D Scene is Rendering Bright in the VSE

profile conversion for sequencer result sued to happen even if
color management is disabled for scene which made frames brighter.

7 years agoFix #29715: cycles and glsl normal node not working correct.
Brecht Van Lommel [Wed, 28 Dec 2011 19:42:22 +0000 (19:42 +0000)]
Fix #29715: cycles and glsl normal node not working correct.

7 years agoFix #29689, #29702: cycles render crash with node setups with non-cycles nodes,
Brecht Van Lommel [Wed, 28 Dec 2011 19:42:08 +0000 (19:42 +0000)]
Fix #29689, #29702: cycles render crash with node setups with non-cycles nodes,
after group socket refactoring.

7 years agoFix #29696: Crash on exit of edit mode after deleting contents of fluid domain
Sergey Sharybin [Wed, 28 Dec 2011 17:59:56 +0000 (17:59 +0000)]
Fix #29696: Crash on exit of edit mode after deleting contents of fluid domain

Added NULL-check to copying material number and flags when loading cache

7 years agosvn merge ^/trunk/blender -r42935:42940
Campbell Barton [Wed, 28 Dec 2011 15:14:52 +0000 (15:14 +0000)]
svn merge ^/trunk/blender -r42935:42940

7 years agoScons/FFMPEG:
Thomas Dinges [Wed, 28 Dec 2011 15:08:58 +0000 (15:08 +0000)]
Scons/FFMPEG:
* Fixing compile error, ffmpeg include was missing.

7 years agocorrect define
Campbell Barton [Wed, 28 Dec 2011 15:07:00 +0000 (15:07 +0000)]
correct define

7 years agofiles from bmesh now load in trunk, this way loading (2.64 (or whenever bmesh is...
Campbell Barton [Wed, 28 Dec 2011 14:58:45 +0000 (14:58 +0000)]
files from bmesh now load in trunk, this way loading (2.64 (or whenever bmesh is merged)), wont crash 2.62.

7 years agofix for recent compile error
Campbell Barton [Wed, 28 Dec 2011 14:55:45 +0000 (14:55 +0000)]
fix for recent compile error

7 years agosvn merge ^/trunk/blender -r42931:42935
Campbell Barton [Wed, 28 Dec 2011 14:28:56 +0000 (14:28 +0000)]
svn merge ^/trunk/blender -r42931:42935

7 years agoWIP bmesh trunk sync, excuse the noise
Campbell Barton [Wed, 28 Dec 2011 14:26:59 +0000 (14:26 +0000)]
WIP bmesh trunk sync, excuse the noise

7 years agosyncing with trunk, remove unused function
Campbell Barton [Wed, 28 Dec 2011 14:22:46 +0000 (14:22 +0000)]
syncing with trunk, remove unused function

7 years agomore changes from bmesh into trunk (mesh mpoly strict member)
Campbell Barton [Wed, 28 Dec 2011 14:21:51 +0000 (14:21 +0000)]
more changes from bmesh into trunk (mesh mpoly strict member)

7 years agosvn merge ^/trunk/blender -r42927:42931
Campbell Barton [Wed, 28 Dec 2011 14:05:02 +0000 (14:05 +0000)]
svn merge ^/trunk/blender -r42927:42931

7 years agoWIP loading bmesh in trunk, some conversion functions for this purpose.
Campbell Barton [Wed, 28 Dec 2011 13:50:33 +0000 (13:50 +0000)]
WIP loading bmesh in trunk, some conversion functions for this purpose.

7 years agomerge bleshes BLI_array header lib into trunk.
Campbell Barton [Wed, 28 Dec 2011 13:40:14 +0000 (13:40 +0000)]
merge bleshes BLI_array header lib into trunk.

7 years agosvn merge ^/trunk/blender -r42920:42927
Campbell Barton [Wed, 28 Dec 2011 13:33:35 +0000 (13:33 +0000)]
svn merge ^/trunk/blender -r42920:42927

7 years agoCode refactoring: add unified image buffer functions for doing float => byte,
Brecht Van Lommel [Wed, 28 Dec 2011 13:29:33 +0000 (13:29 +0000)]
Code refactoring: add unified image buffer functions for doing float => byte,
byte => float, float => float, byte => byte conversions with profile, dither
and predivide. Previously code for this was spread out too much.

There should be no functional changes, this is so the predivide/table/dither
patches can work correctly.

7 years agominor edits
Campbell Barton [Wed, 28 Dec 2011 13:24:49 +0000 (13:24 +0000)]
minor edits

7 years agoenable USE_BMESH_FORWARD_COMPAT and merge in some customdata functions
Campbell Barton [Wed, 28 Dec 2011 13:23:59 +0000 (13:23 +0000)]
enable USE_BMESH_FORWARD_COMPAT and merge in some customdata functions

7 years agoinitial merge of bmesh customdata layer code into trunk, ifdef'd out for now with...
Campbell Barton [Wed, 28 Dec 2011 13:15:17 +0000 (13:15 +0000)]
initial merge of bmesh customdata layer code into trunk, ifdef'd out for now with USE_BMESH_FORWARD_COMPAT.

7 years agosync customdata layers up with trunk. existing bmesh files will crash on load but...
Campbell Barton [Wed, 28 Dec 2011 13:11:46 +0000 (13:11 +0000)]
sync customdata layers up with trunk. existing bmesh files will crash on load but this is unavoidable.

7 years agoFix #29707: Sequencer presets corrupt audio scene settings
Sergey Sharybin [Wed, 28 Dec 2011 12:39:35 +0000 (12:39 +0000)]
Fix #29707: Sequencer presets corrupt audio scene settings

Problem was caused by using amount of channels as integer instead of enum
identifiers in preset files.

7 years agoAdd FFmpeg libraries versions to system-info.txt
Sergey Sharybin [Wed, 28 Dec 2011 12:35:58 +0000 (12:35 +0000)]
Add FFmpeg libraries versions to system-info.txt

7 years agosvn merge ^/trunk/blender -r42918:42920
Campbell Barton [Wed, 28 Dec 2011 11:20:45 +0000 (11:20 +0000)]
svn merge ^/trunk/blender -r42918:42920

7 years agomake MOD_dynamicpaint.c use more typical gpl2+ text and some formatting edits in DNA
Campbell Barton [Wed, 28 Dec 2011 11:08:38 +0000 (11:08 +0000)]
make MOD_dynamicpaint.c use more typical gpl2+ text and some formatting edits in DNA

7 years agosvn merge ^/trunk/blender -r42914:42918
Campbell Barton [Wed, 28 Dec 2011 10:27:25 +0000 (10:27 +0000)]
svn merge ^/trunk/blender -r42914:42918

7 years agocopy BLI_edgehash changes from bmesh branch, main change is use of mempool.
Campbell Barton [Wed, 28 Dec 2011 10:20:37 +0000 (10:20 +0000)]
copy BLI_edgehash changes from bmesh branch, main change is use of mempool.

7 years agoun-inline edgehash functions, BLI_edgehash_insert was far too big to inline.
Campbell Barton [Wed, 28 Dec 2011 10:06:10 +0000 (10:06 +0000)]
un-inline edgehash functions, BLI_edgehash_insert was far too big to inline.

and have edge hash use unsigned ints since edge verts are unsigned ints for MEdge's

7 years agoun-inline edgehash functions, BLI_edgehash_insert especially was too large to inline
Campbell Barton [Wed, 28 Dec 2011 09:47:24 +0000 (09:47 +0000)]
un-inline edgehash functions, BLI_edgehash_insert especially was too large to inline

7 years agosvn merge ^/trunk/blender -r42911:42914
Campbell Barton [Wed, 28 Dec 2011 09:21:24 +0000 (09:21 +0000)]
svn merge ^/trunk/blender -r42911:42914

7 years agominor edits and correcton to assert
Campbell Barton [Wed, 28 Dec 2011 09:14:09 +0000 (09:14 +0000)]
minor edits and correcton to assert

7 years agomerge in customdata changes from BMesh - biggest change is caching the layer index...
Campbell Barton [Wed, 28 Dec 2011 09:11:11 +0000 (09:11 +0000)]
merge in customdata changes from BMesh - biggest change is caching the layer index values in a typemap.

7 years agosvn merge ^/trunk/blender -r42902:42911
Campbell Barton [Wed, 28 Dec 2011 08:36:25 +0000 (08:36 +0000)]
svn merge ^/trunk/blender -r42902:42911

7 years agoreduce size of typemap, and minor changes to sync with trunk
Campbell Barton [Wed, 28 Dec 2011 08:33:19 +0000 (08:33 +0000)]
reduce size of typemap, and minor changes to sync with trunk

7 years agominor changes from bmesh into trunk
Campbell Barton [Wed, 28 Dec 2011 08:29:03 +0000 (08:29 +0000)]
minor changes from bmesh into trunk

7 years agosync some edits with bmesh
Campbell Barton [Wed, 28 Dec 2011 07:43:06 +0000 (07:43 +0000)]
sync some edits with bmesh

7 years agomacro for getting next/previous MPoly loops
Campbell Barton [Wed, 28 Dec 2011 07:10:27 +0000 (07:10 +0000)]
macro for getting next/previous MPoly loops

7 years agoset mloop edge and vertex as unsigned ints since face/edge reference verts as unsigne...
Campbell Barton [Wed, 28 Dec 2011 04:43:29 +0000 (04:43 +0000)]
set mloop edge and vertex as unsigned ints since face/edge reference verts as unsigned ints too

7 years agofor bpy.props, when 'name' argument is not initialized, vallback to the attribute...
Campbell Barton [Wed, 28 Dec 2011 04:25:46 +0000 (04:25 +0000)]
for bpy.props, when 'name' argument is not initialized, vallback to the attribute name rather than an empty string.

7 years agosaving to legacy mesh format is now functional
Campbell Barton [Tue, 27 Dec 2011 13:44:15 +0000 (13:44 +0000)]
saving to legacy mesh format is now functional

7 years agosvn merge ^/trunk/blender -r42886:42902
Campbell Barton [Tue, 27 Dec 2011 13:28:30 +0000 (13:28 +0000)]
svn merge ^/trunk/blender -r42886:42902

7 years agooption to save as older mesh format (ifdef'd for now)
Campbell Barton [Tue, 27 Dec 2011 13:17:58 +0000 (13:17 +0000)]
option to save as older mesh format (ifdef'd for now)

7 years agoChange visualize indices so that edit select mode chooses which elements are visualized
Howard Trickey [Tue, 27 Dec 2011 12:50:23 +0000 (12:50 +0000)]
Change visualize indices so that edit select mode chooses which elements are visualized

7 years agoOSX: adding PNG codec to QTKit, to have one more alpha enabled one atm
Jens Verwiebe [Tue, 27 Dec 2011 11:29:27 +0000 (11:29 +0000)]
OSX: adding PNG codec to QTKit, to have one more alpha enabled one atm

7 years agoMore fixes for timecode usage with BKE_movieclip_get_ibuf_flag
Sergey Sharybin [Tue, 27 Dec 2011 11:09:06 +0000 (11:09 +0000)]
More fixes for timecode usage with BKE_movieclip_get_ibuf_flag

7 years agoFix #29688: Timecode is not used in tracking
Sergey Sharybin [Tue, 27 Dec 2011 10:52:23 +0000 (10:52 +0000)]
Fix #29688: Timecode is not used in tracking

Use proper timecode flags sending to BKE_movieclip_get_ibuf_flag function,
so now frames for tracking would be full-resolution but calculated using
timecode defined in th interface,

7 years agoOSX: adding some more codecs to QTKit
Jens Verwiebe [Tue, 27 Dec 2011 10:51:01 +0000 (10:51 +0000)]
OSX: adding some more codecs to QTKit

7 years agoUpdate build files to use new OpenAL libraries
Sergey Sharybin [Tue, 27 Dec 2011 09:37:19 +0000 (09:37 +0000)]
Update build files to use new OpenAL libraries

7 years agooption to save bmesh files in older mesh format so they can load in older versoons...
Campbell Barton [Tue, 27 Dec 2011 08:39:55 +0000 (08:39 +0000)]
option to save bmesh files in older mesh format so they can load in older versoons of blender.

- saves UV's and VCols
- skips NGons
- resulting files load in both BMesh and Trunk.

TODO - add an option in the UI to access this.

7 years agosvn merge ^/trunk/blender -r42882:42886
Campbell Barton [Tue, 27 Dec 2011 04:08:21 +0000 (04:08 +0000)]
svn merge ^/trunk/blender -r42882:42886

7 years agoremove unneeded casts from 'unsigned int' to 'int'
Campbell Barton [Tue, 27 Dec 2011 03:54:23 +0000 (03:54 +0000)]
remove unneeded casts from 'unsigned int' to 'int'

7 years ago* Fixing compile after recent i18 commits.
Thomas Dinges [Tue, 27 Dec 2011 01:35:39 +0000 (01:35 +0000)]
* Fixing compile after recent i18 commits.

7 years agoFix own error in r42881, didn't add rectangle padding correctly.
Nicholas Bishop [Mon, 26 Dec 2011 23:36:44 +0000 (23:36 +0000)]
Fix own error in r42881, didn't add rectangle padding correctly.

7 years agosvn merge ^/trunk/blender -r42871:42882
Campbell Barton [Mon, 26 Dec 2011 21:39:16 +0000 (21:39 +0000)]
svn merge ^/trunk/blender -r42871:42882

7 years ago[#29144] Snapping control points: can't choose which one to delete
Martin Poirier [Mon, 26 Dec 2011 20:23:07 +0000 (20:23 +0000)]
[#29144] Snapping control points: can't choose which one to delete
Reported by Pep Ribal
You can now select which snap point to remove (with Alt-A) by moving the cursor over them.
Display colors are also used to indicate which snap points are active, selected or just there.

7 years agoFactor out some generic parts of the sculpting PBVH redraw planes code.
Nicholas Bishop [Mon, 26 Dec 2011 20:19:55 +0000 (20:19 +0000)]
Factor out some generic parts of the sculpting PBVH redraw planes code.

One function converts bounding boxes to screen space, the other
converts a screen-space rectangle to 3D clipping planes.

Also const-ified some parameters in the ED_view3d API.

7 years agoAdd a glClear() in GHOST/X11 between creating the GLX context and
Nicholas Bishop [Mon, 26 Dec 2011 19:12:13 +0000 (19:12 +0000)]
Add a glClear() in GHOST/X11 between creating the GLX context and
displaying the window.

This fixes a brief flash of random data on Blender startup on my
system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers.)

Code review link:
http://codereview.appspot.com/5505071/

7 years ago[#29611] Crash when scale one vertex with snap.
Martin Poirier [Mon, 26 Dec 2011 19:03:32 +0000 (19:03 +0000)]
[#29611] Crash when scale one vertex with snap.
Reported by Andrey Penyaz
Scale snap defaults to 1 when snapping is impossible (distance to center of transformation is zero).

7 years agoAnother fix for #29494: Problem loading translations at Blender's startup
Sergey Sharybin [Mon, 26 Dec 2011 14:52:36 +0000 (14:52 +0000)]
Another fix for #29494: Problem loading translations at Blender's startup

Reset only LANG variable to it's default value when setting locale to
short/long name failed and set LANGUAGE to value calculated from LANG
or value in user preferences (depending on if Default language is set)
so correct language ill be used for messages even if locale files aren't
generated.

Also disabled i18n prints in non-debug run so console wouldn't be polluted
by messages which aren't really informative for user now and might confuse.

7 years agoAdded WITH_BF_LIBMV to command line options
Sergey Sharybin [Mon, 26 Dec 2011 14:52:21 +0000 (14:52 +0000)]
Added WITH_BF_LIBMV to command line options

7 years agoformatting edits only to use more consisted style
Campbell Barton [Mon, 26 Dec 2011 12:26:11 +0000 (12:26 +0000)]
formatting edits only to use more consisted style

7 years agoformatting edits & minor corrections
Campbell Barton [Mon, 26 Dec 2011 00:42:35 +0000 (00:42 +0000)]
formatting edits & minor corrections

7 years agopatch from debian from Kevin 'kiniou' Roy
Campbell Barton [Mon, 26 Dec 2011 00:13:03 +0000 (00:13 +0000)]
patch from debian from Kevin 'kiniou' Roy

added __GNU__ and __GLIBC__ to conditional defined in order to compile on KFreeBSD

7 years agofix for a bug in mathutils when a vector was accessing a matrix and the matrix size...
Campbell Barton [Mon, 26 Dec 2011 00:05:41 +0000 (00:05 +0000)]
fix for a bug in mathutils when a vector was accessing a matrix and the matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.

7 years agosvn merge ^/trunk/blender -r42839:42871
Campbell Barton [Sun, 25 Dec 2011 21:31:19 +0000 (21:31 +0000)]
svn merge ^/trunk/blender -r42839:42871

7 years agoinclude BLO_sys_types in customdata header rather than stdint directly.
Campbell Barton [Sun, 25 Dec 2011 21:27:23 +0000 (21:27 +0000)]
include BLO_sys_types in customdata header rather than stdint directly.

7 years agoCycles Test App:
Thomas Dinges [Sun, 25 Dec 2011 13:34:18 +0000 (13:34 +0000)]
Cycles Test App:
* Added some new integrator parameters to the xml reading.
* Added ability to specify window width/height, if not set it uses film/camera width/height.
* Added back the xml exporter script from cycles branch, with modifications to hock up into the UI. To use it, copy the script into 2.61/scripts/startup.

Note: This is intended for developers for now, but the standalone Cycles app has potential to be used as benchmark for example.

7 years agouse docstrings for mathutils getset's, also some formatting edits, no functional...
Campbell Barton [Sun, 25 Dec 2011 11:36:26 +0000 (11:36 +0000)]
use docstrings for mathutils getset's, also some formatting edits, no functional changes.

7 years agopicky formatting of mathutils
Campbell Barton [Sat, 24 Dec 2011 13:26:30 +0000 (13:26 +0000)]
picky formatting of mathutils

7 years agoRe-enable CYCLES and OpenEXR since they work for MInGW. IMPORTANT: Only use the lates...
Antony Riakiotakis [Sat, 24 Dec 2011 11:56:13 +0000 (11:56 +0000)]
Re-enable CYCLES and OpenEXR since they work for MInGW. IMPORTANT: Only use the latest MinGW to compile blender.

7 years agoOSX/gcc-4.6, fix for typedef uin64_t
Jens Verwiebe [Sat, 24 Dec 2011 08:03:43 +0000 (08:03 +0000)]
OSX/gcc-4.6, fix for typedef uin64_t

7 years agoupdate bpy_extras.view3d_utils for matrix changes
Campbell Barton [Sat, 24 Dec 2011 07:11:40 +0000 (07:11 +0000)]
update bpy_extras.view3d_utils for matrix changes

AFAIK all trunk scripts are now updated for changes to matrix row/col.

7 years agomathtils, convenience attributes added 'row' and 'col', this makes the row/col swap...
Campbell Barton [Sat, 24 Dec 2011 07:03:19 +0000 (07:03 +0000)]
mathtils, convenience attributes added 'row' and 'col', this makes the row/col swap a lot easier to deal with, since
 now you can still use column access

previously...
  mat[2] = 1, 2, 3

needed to be converted into...
  mat[0][2] = 1
  mat[1][2] = 2
  mat[2][2] = 3

but with column access you can do...
  mat.col[2] = 1, 2, 3

Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.

7 years agofix for error with matrix access and negative indices with recent row/col swap.
Campbell Barton [Sat, 24 Dec 2011 06:13:58 +0000 (06:13 +0000)]
fix for error with matrix access and negative indices with recent row/col swap.

7 years agomathutils get/set function rename + minor changes to matrix functions (no functional...
Campbell Barton [Sat, 24 Dec 2011 04:58:01 +0000 (04:58 +0000)]
mathutils get/set function rename + minor changes to matrix functions (no functional changes)

7 years agoreplace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
Campbell Barton [Sat, 24 Dec 2011 03:03:42 +0000 (03:03 +0000)]
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.

7 years agominor edits to cycles c/python module
Campbell Barton [Sat, 24 Dec 2011 02:47:13 +0000 (02:47 +0000)]
minor edits to cycles c/python module

- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally.
- use macros for returning None
- make with_osl an attribute rather then a function.
- changes methods METH_VARARGS --> METH_O when single args are used.

7 years agoformatting edits 120 line length
Campbell Barton [Sat, 24 Dec 2011 02:37:42 +0000 (02:37 +0000)]
formatting edits 120 line length

7 years agoFormatting edits <120 length lines
Campbell Barton [Sat, 24 Dec 2011 02:32:08 +0000 (02:32 +0000)]
Formatting edits <120 length lines