Blender Git Statistics -> Developers -> slumber

swann (slumber)

Total Commits : 1
Master Commits : 1
Branch Commits : 0
First Commit : January 17, 2020
Latest Commit : January 17, 2020

Commits by Month

DateNumber of Commits
January, 20201

Favourite Files

FilenameTotal Edits

File Changes

ActionTotalPer Commit

Code Changes

ActionTotalPer Commit
Lines Added4848.0
Lines Removed2121.0

Latest commits Feed

Revision e280c04 by swann / Clment Foucault (master)
January 17, 2020, 18:14 (GMT)
Fix lightprobe creation from python data API

### Description of the problem

Until now, it is only possible to correctly add a lightprobe in python via an operator:

### Description of the proposed solution

The idea of this patch is to fix the lack of consistency lightprobe creation without operator.
It allow creation of different lightprobe type directly via `, type)` (such as for curves).

In order to make it possible I had to:
1. Add a function `BKE_lightprobe_configure` in charge of lightprobe settings configuration (avoid code redundancy)
2. Allow an object to take lightprobe datablock as data during is initialization.

### A short example of this patch usage

lp ='some_name','PLANAR')'toto', lp)


Reviewed By: fclem

Differential Revision:

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021