camera monitors: pass device and node properties as event data
This avoids event properties show up in device and node properties.
This commit is contained in:

committed by
George Kiagiadakis

parent
3fe930f15f
commit
7bca8cacde
@@ -16,7 +16,7 @@ SimpleEventHook {
|
||||
},
|
||||
},
|
||||
execute = function(event)
|
||||
local properties = event:get_properties ()
|
||||
local properties = event:get_data ("node-properties")
|
||||
local parent = event:get_subject ()
|
||||
local dev_props = parent.properties
|
||||
local factory = event:get_data ("factory")
|
||||
|
Reference in New Issue
Block a user