8 years agoworkaround for crash when rig library links dont load. - will leak memory but better...
Campbell Barton [Wed, 30 May 2012 09:27:16 +0000 (09:27 +0000)]
workaround for crash when rig library links dont load. - will leak memory but better then crash.

8 years agofix incorrect delete usage in the compositor.
Campbell Barton [Wed, 30 May 2012 09:15:02 +0000 (09:15 +0000)]
fix incorrect delete usage in the compositor.

8 years agosplit up proportional editing keymap functions (adding this in tomato branch was...
Campbell Barton [Wed, 30 May 2012 08:02:49 +0000 (08:02 +0000)]
split up proportional editing keymap functions (adding this in tomato branch was messy)

8 years agominor transform change to stay in sync with mask branch
Campbell Barton [Wed, 30 May 2012 07:38:33 +0000 (07:38 +0000)]
minor transform change to stay in sync with mask branch

8 years agoclear active object when hiding unselected objects too.
Campbell Barton [Wed, 30 May 2012 06:37:40 +0000 (06:37 +0000)]
clear active object when hiding unselected objects too.

8 years agoRemove useless file
Nathan Letwory [Wed, 30 May 2012 04:17:21 +0000 (04:17 +0000)]
Remove useless file

8 years agoBGE #30734: add support for physics linear and angular thresholds and deactivation...
Benoit Bolsee [Tue, 29 May 2012 20:30:33 +0000 (20:30 +0000)]
BGE #30734: add support for physics linear and angular thresholds and deactivation time from python and GUI.
The linear and angular thresholds set the speed limit (in m/s) and rotation limit (in rad/s)
under which a rigid body will go to sleep (stop moving) if it stays below the limits for a
time equal or longer than the deactivation time (sleeping is disabled is deactivation time is
set to 0).
These settings help reducing the processing spent on Physics during the game.

Previously they were only accessible from python but not working because of a bug.
Now the python functions are working and the settings are available in the Physics panel
of the World settings when using the Blender Game render engine.

Python API:
  import PhysicsConstraints

8 years agoWin32: Compilation fix for quicktime import
Benoit Bolsee [Tue, 29 May 2012 20:06:31 +0000 (20:06 +0000)]
Win32: Compilation fix for quicktime import

8 years agoBugfix [#31629] Cloth simulation results are much different from older ones
Daniel Genrich [Tue, 29 May 2012 19:12:49 +0000 (19:12 +0000)]
Bugfix [#31629] Cloth simulation results are much different from older ones

This is only a partial bugfix, reducing the repulse to 1/3.

Cloth collision will still behave different because it is now catching more collisions.

8 years agoOutliner Drag & Drop fixes
Dan Eicher [Tue, 29 May 2012 18:12:13 +0000 (18:12 +0000)]
Outliner Drag & Drop fixes

 * use scene of child instead of active scene
 * poll to check if parent and child are in same scene

 * get scene from child instead of only working on active scene
 * poll to check if no parent

OUTLINER_OT_scene_drop && OBJECT_OT_make_links_scene
 * memory leak on error
 * would only link some objects on error

8 years agoFix #31633: select pattern operator did not mention [abc] wildcard, also
Brecht Van Lommel [Tue, 29 May 2012 17:01:24 +0000 (17:01 +0000)]
Fix #31633: select pattern operator did not mention [abc] wildcard, also
documented the operator more detailed in wiki now.

8 years agoreenable sm13 for win32 cmake
Antony Riakiotakis [Tue, 29 May 2012 16:18:10 +0000 (16:18 +0000)]
reenable sm13 for win32 cmake

8 years agoFix #31591: info header reports missing with custom key configuration due to
Brecht Van Lommel [Tue, 29 May 2012 15:04:11 +0000 (15:04 +0000)]
Fix #31591: info header reports missing with custom key configuration due to
wrong keymap timer writing, some timer types were missing.

8 years agoCompositor filter node
Jeroen Bakker [Tue, 29 May 2012 14:38:28 +0000 (14:38 +0000)]
Compositor filter node
 * edges (x=0, x=width-1, y = 0 y=height-1) were not taken into acount
used CLAMP function to limit the filter operation to existing pixels

8 years ago * Compositor Alpha channel was not effected by the ConvolutionFilters
Jeroen Bakker [Tue, 29 May 2012 14:25:28 +0000 (14:25 +0000)]
 * Compositor Alpha channel was not effected by the ConvolutionFilters
(Filter:Sharpen, Filter:Soften, etc)

8 years ago * Compositor fix for OpenCL [OpenCL platform installed, but no
Jeroen Bakker [Tue, 29 May 2012 14:13:08 +0000 (14:13 +0000)]
 * Compositor fix for OpenCL [OpenCL platform installed, but no
available devices]
   - could happen when having laptops with a hard switch between video
cards (intel/NVidia switch)
   - or when an opencl platform was installed on a machine without any
OpenCL compatible GPU

8 years agoRevert makesrna part of r47158 because it broke building blenderplayer
Dan Eicher [Tue, 29 May 2012 13:59:31 +0000 (13:59 +0000)]
Revert makesrna part of r47158 because it broke building blenderplayer

Apparently not supposed to call ED_* functions from there

Also added a missing "\n" that's been annoying me for a long while

8 years agoCycles / CUDA:
Thomas Dinges [Tue, 29 May 2012 12:28:34 +0000 (12:28 +0000)]
Cycles / CUDA:
* Windows department switches to CUDA Toolkit 4.2 :)
* Windows Buildbot uses that too now (thanks jesterKing)
* Re-enable sm_13 for x86, compiled again with current SVN and the new toolkit.

* All official builds for windows now come with sm_13, sm_20, sm_21 and sm_30 for the Kepler cards.

8 years agoScons:
Thomas Dinges [Tue, 29 May 2012 12:13:45 +0000 (12:13 +0000)]
* Remove "plugininstall" from argument list, caused errors.

8 years agoFix #31631: keyframe insert on uv layer element not working.
Brecht Van Lommel [Tue, 29 May 2012 11:19:46 +0000 (11:19 +0000)]
Fix #31631: keyframe insert on uv layer element not working.

8 years agoFix #31632: error inserting keyframing on vertex group element weight.
Brecht Van Lommel [Tue, 29 May 2012 11:00:12 +0000 (11:00 +0000)]
Fix #31632: error inserting keyframing on vertex group element weight.

8 years agomore plugin removal
Campbell Barton [Tue, 29 May 2012 10:41:00 +0000 (10:41 +0000)]
more plugin removal

8 years agoFix #31556: cycles object info random value was not properly randomized for
Brecht Van Lommel [Tue, 29 May 2012 10:34:16 +0000 (10:34 +0000)]
Fix #31556: cycles object info random value was not properly randomized for

8 years agoFix #31596: wrong soft limits for light falloff node.
Brecht Van Lommel [Tue, 29 May 2012 10:34:10 +0000 (10:34 +0000)]
Fix #31596: wrong soft limits for light falloff node.

8 years agofinish cleanup for plugins
Campbell Barton [Tue, 29 May 2012 10:31:42 +0000 (10:31 +0000)]
finish cleanup for plugins

8 years agoMassive Code cleanup:
Thomas Dinges [Tue, 29 May 2012 10:21:07 +0000 (10:21 +0000)]
Massive Code cleanup:
* Remove all code for Texture and Sequencer plugin system, this never worked in 2.5x / 2.6x and is therefore not needed anymore.

* DNA structures are kept, all read/writefile code is gone.

8 years agoFix compilation error of Cycles after recent py node removal
Sergey Sharybin [Tue, 29 May 2012 09:51:16 +0000 (09:51 +0000)]
Fix compilation error of Cycles after recent py node removal

8 years agoremove some more pynode references in the code
Campbell Barton [Tue, 29 May 2012 09:42:11 +0000 (09:42 +0000)]
remove some more pynode references in the code

8 years agoremove pynodes, were not working in 2.5, not ported to py3.x
Campbell Barton [Tue, 29 May 2012 09:37:23 +0000 (09:37 +0000)]
remove pynodes, were not working in 2.5, not ported to py3.x

8 years agoOUTLINER_OT_scene_drop -- "Drag object to scene in Outliner" operator
Dan Eicher [Tue, 29 May 2012 08:20:11 +0000 (08:20 +0000)]
OUTLINER_OT_scene_drop -- "Drag object to scene in Outliner" operator

Refactored the two (well, three now) other places where an object is linked to a scene into ED_object_scene_link()

8 years agoTypo in property Description
Daniel Salazar [Tue, 29 May 2012 05:46:54 +0000 (05:46 +0000)]
Typo in property Description

8 years agofix for sequencer selection and naming in the outliner, was broken since 2.5x
Campbell Barton [Tue, 29 May 2012 05:45:06 +0000 (05:45 +0000)]
fix for sequencer selection and naming in the outliner, was broken since 2.5x

8 years agoCycles / CUDA:
Thomas Dinges [Mon, 28 May 2012 23:51:06 +0000 (23:51 +0000)]
Cycles / CUDA:
* Remove double declaration of cosf.

8 years agoOutliner drag/drop parent fix -- added checks for modifiers and contraints to the...
Dan Eicher [Mon, 28 May 2012 22:59:11 +0000 (22:59 +0000)]
Outliner drag/drop parent fix -- added checks for modifiers and contraints to the poll functions

Parenting was just broken, poll would return true but nothing would happen if you dropped on modifiers or constraints

Parent clear now works the same as dropping on a non-ID_OB types but left the actual modifier/contraint instances open to allow for future expansion

8 years agoBGE patch #28476: Character object physics type
Benoit Bolsee [Mon, 28 May 2012 21:36:29 +0000 (21:36 +0000)]
BGE patch #28476: Character object physics type
This patch adds a new "Character" BGE physics type which uses Bullet's btKinematicCharacter for simulation instead of full-blown dynamics. It is appropiate for (player-controlled) characters, for which the other physics types often result unexpected results (bouncing off walls, sliding etc.) and for which simple kinematics offers much more precision.

"Character" can be chosen like any other physics type in the "Physics" section of the properties window. Current settings for tweaking are "Step Height" (to make the object automatically climb small steps if it collides with them), "Fall Speed" (the maximum speed that the object can have when falling) and "Jump Speed", which is currently not used.

for sample blends and a discussion on the patch: how to use it and what influences the behavior of the character object.

Known problem: there is a crash if the "compound" option is set in the physics panel of the Character object.

8 years agofix compiler error
Campbell Barton [Mon, 28 May 2012 21:25:17 +0000 (21:25 +0000)]
fix compiler error

8 years agoFix for bug [#31613] Cycles 3d viewport material display mode + skin modifier related...
Nicholas Bishop [Mon, 28 May 2012 21:02:44 +0000 (21:02 +0000)]
Fix for bug [#31613] Cycles 3d viewport material display mode + skin modifier related crash

When in material display mode, mesh_calc_modifiers() calculates the
orco DerivedMesh, which uses a different CustomDataMask. In
particular, it does not necessarily include the current modifier's
requiredDataMask, so those layers might get set to NO_COPY. For the
skin modifier, this resulted in a crash when the modifier internally
copies the DerivedMesh and the output does not contain the expected
MVertSkin layer.

Fixed by adding the requiredDataMask to the orco DM's CustomDataMask.

Also added a debugging function to customdata.c:
customData_mask_layers__print(CustomDataMask mask);

This will print out the names of all the CD layer types in the mask.

8 years agoCycles / CUDA:
Thomas Dinges [Mon, 28 May 2012 19:49:26 +0000 (19:49 +0000)]
Cycles / CUDA:
* Remove -use_fast_math flag from scons as well.

8 years agoadd BLI_ghash_pop() which returns the value for a key and removes it at the same...
Campbell Barton [Mon, 28 May 2012 19:33:14 +0000 (19:33 +0000)]
add BLI_ghash_pop() which returns the value for a key and removes it at the same time, saves a lookup if you need to check if the item exists before removing.

8 years agoCycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and
Brecht Van Lommel [Mon, 28 May 2012 19:21:13 +0000 (19:21 +0000)]
Cycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and
other places, was mainly due to instancing not working, but also found
issues in procedural textures.

The problem was with --use_fast_math, this seems to now have way lower
precision for some operations. Disabled this flag and selectively use
fast math functions. Did not find performance regression on GTX 460 after
doing this.

8 years agoFix 2 #29846. Effector point ave variable can be NULL.
Lukas Toenne [Mon, 28 May 2012 19:10:57 +0000 (19:10 +0000)]
Fix 2 #29846. Effector point ave variable can be NULL.

8 years agoimage.gl_touch: wasn't passing the parameters to gl_load
Dalai Felinto [Mon, 28 May 2012 18:32:18 +0000 (18:32 +0000)]
image.gl_touch: wasn't passing the parameters to gl_load

8 years agostyle cleanup: also fix for TIMEIT macro
Campbell Barton [Mon, 28 May 2012 18:12:08 +0000 (18:12 +0000)]
style cleanup: also fix for TIMEIT macro

8 years agoimage.gl_load: moving error cleaning to before all gl calls"
Dalai Felinto [Mon, 28 May 2012 17:47:42 +0000 (17:47 +0000)]
image.gl_load: moving error cleaning to before all gl calls"

8 years agoimage.gl_load(): clear glGetError buffer before getting a new one
Dalai Felinto [Mon, 28 May 2012 17:03:13 +0000 (17:03 +0000)]
image.gl_load(): clear glGetError buffer before getting a new one

8 years agoFix #29846, Dynamic rotation of particles not affected by forcefields 2.61 64 bit...
Lukas Toenne [Mon, 28 May 2012 16:58:12 +0000 (16:58 +0000)]
Fix #29846, Dynamic rotation of particles not affected by forcefields 2.61 64 bit. Patch by Arno Mayrhofer (azrael3000).

Minor fix by me to initialize the effector point angular velocity vector correctly.

8 years agobpy.utils.time_to_frame() and frame_to_time() utility functions.
Campbell Barton [Mon, 28 May 2012 16:06:38 +0000 (16:06 +0000)]
bpy.utils.time_to_frame() and frame_to_time() utility functions.

8 years agofix for own recent commit removing NULL checks from TREESTORE macro - this use needed it.
Campbell Barton [Mon, 28 May 2012 15:37:43 +0000 (15:37 +0000)]
fix for own recent commit removing NULL checks from TREESTORE macro - this use needed it.

8 years ago* Some code optimizations to panel collapse code, to avoid calculations for each...
Thomas Dinges [Mon, 28 May 2012 14:57:38 +0000 (14:57 +0000)]
* Some code optimizations to panel collapse code, to avoid calculations for each panel. Suggested by "Bao 2".

8 years agoFix for node linking operator, which could insert node link into the list twice and...
Lukas Toenne [Mon, 28 May 2012 14:39:55 +0000 (14:39 +0000)]
Fix for node linking operator, which could insert node link into the list twice and cause deadlock due to incomplete test.

8 years agoSmoke: Fix messed up shadow display with OpenMP. This needs fixing. For now disable...
Daniel Genrich [Mon, 28 May 2012 14:31:08 +0000 (14:31 +0000)]
Smoke: Fix messed up shadow display with OpenMP. This needs fixing. For now disable openmp for that function. Shadow calculation would be better raytraced on GPU or using shaders for the future.

Part of my Blender Smoke Development Phase III.

(accidently commited this to smoke2 branch first)

8 years agoA few minor UI message fixes...
Bastien Montagne [Mon, 28 May 2012 14:01:42 +0000 (14:01 +0000)]
A few minor UI message fixes...

8 years agoSequencer: replace clamp+round of multiplied color value with FTOCHAR macro,
Sergey Sharybin [Mon, 28 May 2012 10:39:22 +0000 (10:39 +0000)]
Sequencer: replace clamp+round of multiplied color value with FTOCHAR macro,

Should solve issues with building blender in release environment, should be
no functional changes.

8 years agoFixed crash opening files with missed libraries.
Sergey Sharybin [Mon, 28 May 2012 10:32:38 +0000 (10:32 +0000)]
Fixed crash opening files with missed libraries.

8 years agoScons / MSVC - Windows x64
Thomas Dinges [Mon, 28 May 2012 09:20:04 +0000 (09:20 +0000)]
Scons / MSVC - Windows x64
* SSE/SSE2 is an unknown option for the compiler (Command line warning D9002 : ignoring unknown option '/arch:SSE2'), so it can be left out because on x64 it automatically builds with SSE and SSE2.

8 years agoFix [#31621] Face Angles Drawn in Strange Places
Bastien Montagne [Mon, 28 May 2012 09:01:43 +0000 (09:01 +0000)]
Fix [#31621] Face Angles Drawn in Strange Places

When do_global is True, don’t compute face angles/area positions based on ob-matrix-transformed coordinates!

8 years agomove mouse select options into their own property function - more operators should...
Campbell Barton [Mon, 28 May 2012 05:45:19 +0000 (05:45 +0000)]
move mouse select options into their own property function - more operators should use these eventually

8 years agoUser Interface Panels:
Thomas Dinges [Mon, 28 May 2012 00:02:24 +0000 (00:02 +0000)]
User Interface Panels:
* Add a solo mode for panels, CTRL+LMB on a panel header.
This closes all other panels.

Patch [#22233] by sneg negr (sneg) with modifications by myself to exclude panels with hidden header (like context)

8 years agomissing from previous commit
Campbell Barton [Sun, 27 May 2012 21:56:19 +0000 (21:56 +0000)]
missing from previous commit

8 years ago== Sequencer / Color balance ==
Peter Schlaile [Sun, 27 May 2012 20:57:24 +0000 (20:57 +0000)]
== Sequencer / Color balance ==

Make the color balance inner working more accurate in the byte -> byte
case, probably also fixing (can't check I'm on 32bit) the bug mentioned
on yellow's blog:

8 years agostyle cleanup: defines with braces
Campbell Barton [Sun, 27 May 2012 20:13:59 +0000 (20:13 +0000)]
style cleanup: defines with braces

8 years agoCollada exporter: Added name attribute to nodes in visual_scene elements (name = id)
Gaia Clary [Sun, 27 May 2012 19:44:07 +0000 (19:44 +0000)]
Collada exporter: Added name attribute to nodes in visual_scene elements (name = id)

8 years agostyle cleanup
Campbell Barton [Sun, 27 May 2012 19:40:36 +0000 (19:40 +0000)]
style cleanup

8 years agostyle cleanup: draw node
Campbell Barton [Sun, 27 May 2012 19:38:10 +0000 (19:38 +0000)]
style cleanup: draw node

8 years agoSmoke:
Daniel Genrich [Sun, 27 May 2012 18:45:16 +0000 (18:45 +0000)]
a) Another boundary fix. Resulted in smoke getting "sucked" back into the domain
b) Disabling substeps (internal thing). Fixes arbitrary explosions/instabilities.

Part of my Blender Smoke Development.

8 years agoremove NULL check in TREESTORE macro, the return NULL value wasny checked for by...
Campbell Barton [Sun, 27 May 2012 14:43:18 +0000 (14:43 +0000)]
remove NULL check in TREESTORE macro, the return NULL value wasny checked for by any callers (ie - it would crash later if the arg was NULL anyway)

also comment on the speed of check_persistent()

8 years agoUse BKE_movieclip_get_size rather than BKE_movieclip_get_ibuf and use ibuf's resoluti...
Sergey Sharybin [Sun, 27 May 2012 14:30:45 +0000 (14:30 +0000)]
Use BKE_movieclip_get_size rather than BKE_movieclip_get_ibuf and use ibuf's resolution in tile's Movie Clip node

8 years agoFix mistmatch in usage of delete vs. delete [] in tiles reported by valgrind profiler.
Sergey Sharybin [Sun, 27 May 2012 14:17:34 +0000 (14:17 +0000)]
Fix mistmatch in usage of delete vs. delete [] in tiles reported by valgrind profiler.

8 years agoPatch #31563: Additional include directory for FFMPEG
Sergey Sharybin [Sun, 27 May 2012 13:44:21 +0000 (13:44 +0000)]
Patch #31563: Additional include directory for FFMPEG

Fedora 16 is still using /usr/include/ffmpeg, not /usr/include to store FFmpeg's
headers. Added it to search paths.

Also remove FFmpeg include directory listed in FFMPEG_INCLUDE_DIRS twice

Patch by Arno Mayrhofer (aka azrael3000), thanks!

8 years agoFix #26876: Soft Body ignores Goal on Lattice
Sergey Sharybin [Sun, 27 May 2012 13:33:09 +0000 (13:33 +0000)]
Fix #26876: Soft Body ignores Goal on Lattice

Patch by Arno Mayrhofer (aka azrael3000) with only slight code style modifications, thanks!

8 years agocode cleanup: remove mode comments, these were applied very un-evenly across a few...
Campbell Barton [Sun, 27 May 2012 13:22:43 +0000 (13:22 +0000)]
code cleanup: remove mode comments, these were applied  very un-evenly across a few files.

8 years agorna_def_composite_nodetree_api() getting passed the wrong prop
Dan Eicher [Sun, 27 May 2012 13:17:31 +0000 (13:17 +0000)]
rna_def_composite_nodetree_api() getting passed the wrong prop

8 years agocode cleanup: defines with braces - end with '(void)0' so callers must end with ...
Campbell Barton [Sun, 27 May 2012 12:21:13 +0000 (12:21 +0000)]
code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
... without this some editors dont parse the source so well.

8 years agowhen SCREEN_OT_keyframe_jump fails dont send notifiers or call sound_seek_scene
Campbell Barton [Sun, 27 May 2012 11:22:06 +0000 (11:22 +0000)]
when SCREEN_OT_keyframe_jump fails dont send notifiers or call sound_seek_scene

8 years agocode cleanup:
Campbell Barton [Sun, 27 May 2012 11:10:27 +0000 (11:10 +0000)]
code cleanup:
style and remove BM_face_find_longest/shortest_edge functions,
... instead use BM_face_find_longest/shortest_loop()->e

8 years agostyle cleanup: nodes, also rename chunksize -> chunk_size
Campbell Barton [Sun, 27 May 2012 11:08:47 +0000 (11:08 +0000)]
style cleanup: nodes, also rename chunksize -> chunk_size

8 years agoFix #31606: pg up/down does not work for changing falloff for proportional editing
Sergey Sharybin [Sun, 27 May 2012 10:08:37 +0000 (10:08 +0000)]
Fix #31606: pg up/down does not work for changing falloff for proportional editing

Initially issue was caused by non-proportional edge slide patch in rev46927 which
had several wrong things:

- It introduced new events TFM_WHEEL_DOWN_EVT/TFM_WHEEL_UP_EVT which were defined
  as per-bit OR between edge slide and proportional editing modal events, but
  the issue is that modal events are not bit masks and that meant that new events
  were defined as 20|24 and 21|25 which is a bit strange.
- Another this was caused by the fact, that keymap wasn't creating for some specific
  transform modal keymap item -- it used to be tried to create single shortcut for
  two different modal events, which isn't supported by keymaps and resulted by
  artifacts in keymap editor interface (nodal event type was empty for wheel movements).
  That was caused by different events used by modal keymap and defining shortcuts.
- Actual issue which prevented PgUP/PGDOWN to work was mixing using that new events
  for wheel scrolling in switch statements which doesn't do bitmask check.

Solved by separating keymaps used for proportional editing and edge slide -- now
it's mouse Wheel for proportional editing and Alt-Wheel for edge slide. If someone
would want to have single shortcut for this two events it'll imply one of the follofing

- Support poll function for shortcuts, so keymap would definitely know which
  modal event to send to operator.
  they can share the same shortcut with current design of keymaps.

8 years agocmake edits
Campbell Barton [Sun, 27 May 2012 10:03:13 +0000 (10:03 +0000)]
cmake edits
- only show mingw option when building with mingw
- always run cmake configure with convenience build targets so failed configurations stop re-configuring.
- disable WITH_GHOST_XDND in 'make lite'

8 years agostyle cleanup
Campbell Barton [Sun, 27 May 2012 00:36:50 +0000 (00:36 +0000)]
style cleanup

8 years ago[#31607] Collada: (Exporter) Implementation of 'use Object Instantiation' Option
Gaia Clary [Sat, 26 May 2012 22:46:28 +0000 (22:46 +0000)]
[#31607] Collada: (Exporter) Implementation of 'use Object Instantiation' Option

8 years agocode cleanup: use const float and define array size
Campbell Barton [Sat, 26 May 2012 22:21:56 +0000 (22:21 +0000)]
code cleanup: use const float and define array size

8 years agoFix for smoke boundary conditions: "Open borders" behaved differently for positive...
Miika Hamalainen [Sat, 26 May 2012 21:36:19 +0000 (21:36 +0000)]
Fix for smoke boundary conditions: "Open borders" behaved differently for positive and negative axises.
+ Some code cleanup.

8 years agoDelete skin customdata if all skin modifiers are removed.
Nicholas Bishop [Sat, 26 May 2012 21:11:23 +0000 (21:11 +0000)]
Delete skin customdata if all skin modifiers are removed.

Fix for bug [#31604] "Skin Modifier - Mark Root Bug?"

Essentially the same as multires customdata deletion.

8 years agoFix #31538: Wrong colors after reloading file with exr image
Sergey Sharybin [Sat, 26 May 2012 17:04:51 +0000 (17:04 +0000)]
Fix #31538: Wrong colors after reloading file with exr image

Issue was caused by generated images had got no profile set (IB_PROFILE_NONE)
which confused OpenEXR saver (which makes sRGB conversion for profiles which
are not linear).

Actually this is much deeper issue which would require the whole color pipeline
workflow (which would happen at some point when currently urgent stuff is resolved),
but having correct profile set for generated images would still be helpful.

8 years agocode cleanup: use array size and const for vector args
Campbell Barton [Sat, 26 May 2012 16:04:31 +0000 (16:04 +0000)]
code cleanup: use array size and const for vector args

8 years agoAdd frame_duration read-only member to Image RNA struct, returns movie's length in...
Bastien Montagne [Sat, 26 May 2012 14:53:33 +0000 (14:53 +0000)]
Add frame_duration read-only member to Image RNA struct, returns movie's length in frames (or 1 for still images).

8 years agoupdate python script memory printout to python3 and some style cleanup
Campbell Barton [Sat, 26 May 2012 13:59:34 +0000 (13:59 +0000)]
update python script memory printout to python3 and some style cleanup

8 years agostyle cleanup: our own malloc code
Campbell Barton [Sat, 26 May 2012 13:36:12 +0000 (13:36 +0000)]
style cleanup: our own malloc code

8 years agocode cleanup: dutch -> english (comments)
Campbell Barton [Sat, 26 May 2012 13:31:57 +0000 (13:31 +0000)]
code cleanup: dutch -> english (comments)

8 years agofix for own error in applying patch
Campbell Barton [Sat, 26 May 2012 13:08:42 +0000 (13:08 +0000)]
fix for own error in applying patch

8 years agoadd vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compat
Campbell Barton [Sat, 26 May 2012 11:01:01 +0000 (11:01 +0000)]
add vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compat

8 years agopatch [#31265] Warning Fixes 02/05/2012
Campbell Barton [Sat, 26 May 2012 10:05:22 +0000 (10:05 +0000)]
patch [#31265] Warning Fixes 02/05/2012
from Jason Wilkins (jwilkins)

only applied some parts:
* const correctness
* moved a variable into a move local scope so it is also inside a #if/endif and does not end up conditionally unused

8 years agopatch [#31578] Standard-conformal sets for .report() and operator return values
Campbell Barton [Sat, 26 May 2012 09:55:00 +0000 (09:55 +0000)]
patch [#31578] Standard-conformal sets for .report() and operator return values
by Sebastian Nell (codemanx)

This patch contains many changes - mostly to addons committing this correction to trunk.

8 years agoFix reading freed memory when opening file by click on it on splash screen
Sergey Sharybin [Sat, 26 May 2012 09:49:54 +0000 (09:49 +0000)]
Fix reading freed memory when opening file by click on it on splash screen

Issue was introduced by yesterday's commit 47021 and caused by some handler's
which is getting called from ui_handler_popup frees event.

Worked around a bit by storing return value for ui_handler_popup before running
other handlers, but this only means global refactor of even handling order is
getting closer and closer.

8 years agopatch [#31579] Solidify modifier: Add new option "Flip Normals"
Campbell Barton [Sat, 26 May 2012 09:39:04 +0000 (09:39 +0000)]
patch [#31579] Solidify modifier: Add new option "Flip Normals"

- previous commit was so similar to the patch Shinsuke wrote, better to add him as contributor, this commit will add to generated credits.
- this commit has no functional changes.

8 years agosolidify option to flip normals
Campbell Barton [Sat, 26 May 2012 09:18:47 +0000 (09:18 +0000)]
solidify option to flip normals

8 years agoFix dummy cp/pt error (harmless in blender itself, but breaking doc and i18n tools...
Bastien Montagne [Sat, 26 May 2012 08:31:34 +0000 (08:31 +0000)]
Fix dummy cp/pt error (harmless in blender itself, but breaking doc and i18n tools...).

8 years agoinitialize bake action vars from context
Campbell Barton [Sat, 26 May 2012 00:46:12 +0000 (00:46 +0000)]
initialize bake action vars from context

8 years agoprevious commit didnt build - add back enum and note that its a copy because of linki...
Campbell Barton [Sat, 26 May 2012 00:41:11 +0000 (00:41 +0000)]
previous commit didnt build - add back enum and note that its a copy because of linking error

8 years agoSVN maintenance.
Guillermo S. Romero [Sat, 26 May 2012 00:33:46 +0000 (00:33 +0000)]
SVN maintenance.